ceturtdiena, 2009. gada 2. jūlijs

To enable routing on Ubuntu host

edit /etc/sysctl.conf or with sysctl -w

To allow forward packets
sysctl -w net.ipv4.ip_forward=1

To forward packets comming to "wrong" interfaces:
sysctl -w net.ipv4.conf.default.rp_filter=0
(filter is enabled by default)