aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-prep
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2011-08-26 00:58:06 +0200
committerJacob Appelbaum <jacob@appelbaum.net>2011-08-26 00:58:06 +0200
commit97d4f9226eb8b3b7db34450f8098eb91f6542cb9 (patch)
treee95b86d6c6e20e012c5050a32f71c8a9ba82ba1d /packages/torouter-prep
parentacb8da4edf611c2199bbf6d3b26eeec0f69f1b56 (diff)
parentb3f4d69254943b65a482c85a4d85b351af1e2712 (diff)
downloadtorouter-97d4f9226eb8b3b7db34450f8098eb91f6542cb9.tar.gz
torouter-97d4f9226eb8b3b7db34450f8098eb91f6542cb9.zip
auto uap0
Diffstat (limited to 'packages/torouter-prep')
-rw-r--r--packages/torouter-prep/configs/interfaces2
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