Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

14.10. 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