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