标签:efault source cookies _for 重启 forward default sync span
这种方法无需重启:
[root@ha02 ~]# cat /proc/sys/net/ipv4/ip_forward 0 [root@ha02 ~]# sysctl -w net.ipv4.ip_forward=1 net.ipv4.ip_forward = 1 [root@ha02 ~]# cat /proc/sys/net/ipv4/ip_forward 1
[root@ha02 ~]# sysctl -p /etc/sysctl.conf
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
标签:efault source cookies _for 重启 forward default sync span
原文地址:http://www.cnblogs.com/bass6/p/6016730.html