Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

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