Comment 14 for bug 84537

Revision history for this message
Jacob Emcken (jacob-emcken) wrote :

Sorry was abit quick at clicking "Save Changes".

This is how it looks in /etc/sysctl.conf now:

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

removing the # and running sysctl enables forwarding for me:

root@rohan:~# cat /proc/sys/net/ipv4/ip_forward
0
root@rohan:~# vi /etc/sysctl.conf
root@rohan:~# sysctl -p
kernel.printk = 4 4 1 7
kernel.maps_protect = 1
fs.inotify.max_user_watches = 524288
vm.mmap_min_addr = 65536
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.ip_forward = 1
root@rohan:~# cat /proc/sys/net/ipv4/ip_forward
1