diff options
Diffstat (limited to 'conf/br0.in')
-rw-r--r-- | conf/br0.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/br0.in b/conf/br0.in index 9d5c17b..1181499 100644 --- a/conf/br0.in +++ b/conf/br0.in | |||
@@ -6,7 +6,7 @@ iface br0 inet static | |||
6 | pre-down for n in 0 1 2 3 4; do tunctl -d tap$n; done; true | 6 | pre-down for n in 0 1 2 3 4; do tunctl -d tap$n; done; true |
7 | address 192.168.10.1 | 7 | address 192.168.10.1 |
8 | netmask 255.255.255.0 | 8 | netmask 255.255.255.0 |
9 | bridge_ports tap0 tap1 tap2 tap3 tap4 | 9 | bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 |
10 | bridge_maxwait 10 | 10 | bridge_maxwait 10 |
11 | up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE | 11 | up iptables -t nat -A POSTROUTING -o $(/sbin/iwconfig 2>/dev/null | (read a _; echo $a)) -j MASQUERADE |
12 | up sysctl -w net.ipv4.ip_forward=1 | 12 | up sysctl -w net.ipv4.ip_forward=1 |