Home | Mirror | Search

7. sysctl

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