diff options
Diffstat (limited to 'packages/torouter-prep/configs')
-rw-r--r-- | packages/torouter-prep/configs/interfaces | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/torouter-prep/configs/interfaces b/packages/torouter-prep/configs/interfaces index fbd5213..3af6c55 100644 --- a/packages/torouter-prep/configs/interfaces +++ b/packages/torouter-prep/configs/interfaces @@ -18,7 +18,7 @@ iface eth1 inet static network 10.23.42.0 broadcast 10.23.42.255 post-up echo 1 > /proc/sys/net/ipv4/ip_forward - # this must happen after have brought up wlan0 because it clears the nat tables + # this must happen after have brought up uap0 because it clears the nat tables post-up iptables -t nat -A POSTROUTING -s 10.23.42.0/24 -o eth0 -j MASQUERADE post-up /etc/init.d/dnsmasq restart |