diff options
author | Andrew Cady <d@jerkface.net> | 2019-10-11 22:30:22 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-10-11 22:30:22 -0400 |
commit | 189b3763818fe5792cf06ead5f96f13be4080ed9 (patch) | |
tree | 02a5b2c717032b3c01349b0adec9369355d43198 /conf/interfaces.d_eth0 | |
parent | 674020ccbe893f89238982b0c7e11cc9be871629 (diff) |
new target: make install-bootserver
Diffstat (limited to 'conf/interfaces.d_eth0')
-rw-r--r-- | conf/interfaces.d_eth0 | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/conf/interfaces.d_eth0 b/conf/interfaces.d_eth0 deleted file mode 100644 index 3dbf9b4..0000000 --- a/conf/interfaces.d_eth0 +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | # iface eth0 inet static | ||
2 | # address 192.168.10.1 | ||
3 | # netmask 255.255.255.0 | ||
4 | # # post-up ipsec restart | ||
5 | |||
6 | auto br0 eth0 | ||
7 | |||
8 | iface br0 inet static | ||
9 | # pre-up echo 0 > /proc/sys/net/ipv6/conf/br0/accept_ra_pinfo # disable ipv6 auto-address | ||
10 | pre-up for n in 0 1 2 3 4; do tunctl -t tap$n; done; true | ||
11 | pre-down for n in 0 1 2 3 4; do tunctl -d tap$n; done; true | ||
12 | address 192.168.10.1 | ||
13 | netmask 255.255.255.0 | ||
14 | bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 | ||
15 | bridge_maxwait 10 | ||
16 | up iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE | ||
17 | up sysctl -w net.ipv4.ip_forward=1 | ||
18 | |||
19 | iface eth0 inet manual | ||