[root@CentOS7 ~]
# vim /etc/sysctl.d/99-sysctl.conf
...
添加:
net.ipv4.ip_forward = 1
:wq
[root@CentOS7 ~]
# sysctl -p
net.ipv4.ip_forward = 1
//
查看修改结果.
[root@CentOS7 ~]
#
本文出自 “Apple” 博客,请务必保留此出处http://59465168.blog.51cto.com/5268021/1917261
原文地址:http://59465168.blog.51cto.com/5268021/1917261