關於 openvpn 的一些腳本設定 - Linux

By Poppy
at 2015-11-16T21:41
at 2015-11-16T21:41
Table of Contents
如果是使用 ubuntu ,用 apt-get 套件,就會看到 /etc/init.d/openvpn 裡面
一些 code ,我在 start_vpn () function 內看到
if ! grep -q '^[[:space:]]*client-to-client' $CONFIG_DIR/$NAME.conf ; then
sysctl -w net.ipv4.conf.all.send_redirects=0 > /dev/null
看起來是假設 server.conf 內有 client-to-client 選項,他就會設定
/proc/sys/net/ipv4/conf/all/send_redirects 為 0
甚麼是 send_redirects ?
google 第一個網址就是 super user
有看有翻譯......不懂,本人沒啥網路概念,是否有強者指點我一下,謝謝。
--
一些 code ,我在 start_vpn () function 內看到
if ! grep -q '^[[:space:]]*client-to-client' $CONFIG_DIR/$NAME.conf ; then
sysctl -w net.ipv4.conf.all.send_redirects=0 > /dev/null
看起來是假設 server.conf 內有 client-to-client 選項,他就會設定
/proc/sys/net/ipv4/conf/all/send_redirects 為 0
甚麼是 send_redirects ?
google 第一個網址就是 super user
有看有翻譯......不懂,本人沒啥網路概念,是否有強者指點我一下,謝謝。
--
Tags:
Linux
All Comments

By Agnes
at 2015-11-21T16:47
at 2015-11-21T16:47

By Liam
at 2015-11-25T07:49
at 2015-11-25T07:49

By Leila
at 2015-11-26T00:16
at 2015-11-26T00:16

By Lucy
at 2015-11-30T20:52
at 2015-11-30T20:52

By Dorothy
at 2015-12-05T03:51
at 2015-12-05T03:51

By Aaliyah
at 2015-12-07T04:44
at 2015-12-07T04:44

By Hedda
at 2015-12-08T15:25
at 2015-12-08T15:25

By Kama
at 2015-12-11T03:12
at 2015-12-11T03:12

By Olivia
at 2015-12-16T01:07
at 2015-12-16T01:07

By Valerie
at 2015-12-17T06:52
at 2015-12-17T06:52

By Hazel
at 2015-12-18T17:03
at 2015-12-18T17:03

By Vanessa
at 2015-12-22T23:22
at 2015-12-22T23:22
Related Posts
不同硬碟容量的備份還原

By Charlotte
at 2015-11-16T10:02
at 2015-11-16T10:02
VPS安裝linux 架設email伺服器

By Tristan Cohan
at 2015-11-15T21:38
at 2015-11-15T21:38
遇到需要用root權限的軟體該如何注意安全

By Zanna
at 2015-11-15T19:06
at 2015-11-15T19:06
關於綁架軟體的問題

By Ethan
at 2015-11-15T11:04
at 2015-11-15T11:04
新手使用kubuntu15.10

By Catherine
at 2015-11-14T14:24
at 2015-11-14T14:24