3.IP转发

1. "vim  /usr/lib/sysctl.d/00-system.conf"在#Disable netfilter on bridges.栏下面添加行:"net.ipv4.ip_forward=1"保存退出。

2.永久与即时生效:"sysetl -p/usr/lib/sysctl.d/00-system.conf" 。

3.验证:"cat /porc/sys/net/ipv4/ip_forward",结果为"1"则正确。

 

posted @ 2016-04-22 13:55  秋阳Linux笔记  阅读(198)  评论(0编辑  收藏  举报