summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-05-07 18:34:53 -0400
committerAndrew Cady <d@jerkface.net>2020-05-07 18:34:53 -0400
commit05ceb238511ad73c3a82baec7a444c4665ef64b3 (patch)
tree77685372741fe02eac21c23bb9bb75eca7d3a151
parent19829adc79bd63f3298da8e79e8979515935d73b (diff)
ifupdown config will try to use iwconfig to find wifi
-rw-r--r--conf/br0.in4
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