Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

13.8. IP forwarding(IP转发)

enable IP forwarding

neo@shenzhen:~$ sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1
		
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
		

ubuntu

sysctl -w net.ipv4.ip_forward=1
		
comments powered by Disqus