summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-10-11 22:30:22 -0400
committerAndrew Cady <d@jerkface.net>2019-10-11 22:30:22 -0400
commit189b3763818fe5792cf06ead5f96f13be4080ed9 (patch)
tree02a5b2c717032b3c01349b0adec9369355d43198 /conf
parent674020ccbe893f89238982b0c7e11cc9be871629 (diff)
new target: make install-bootserver
Diffstat (limited to 'conf')
-rw-r--r--conf/br0.in (renamed from conf/interfaces.d_eth0)13
-rw-r--r--conf/dnsmasq.conf.in (renamed from conf/dnsmasq.conf)0
-rw-r--r--conf/eth03
-rwxr-xr-xconf/network_if-up.d_samizdat.in (renamed from conf/network_if-up.d_samizdat)0
4 files changed, 6 insertions, 10 deletions
diff --git a/conf/interfaces.d_eth0 b/conf/br0.in
index 3dbf9b4..9d5c17b 100644
--- a/conf/interfaces.d_eth0
+++ b/conf/br0.in
@@ -1,9 +1,4 @@
1# iface eth0 inet static 1auto br0
2# address 192.168.10.1
3# netmask 255.255.255.0
4# # post-up ipsec restart
5
6auto br0 eth0
7 2
8iface br0 inet static 3iface br0 inet static
9# pre-up echo 0 > /proc/sys/net/ipv6/conf/br0/accept_ra_pinfo # disable ipv6 auto-address 4# pre-up echo 0 > /proc/sys/net/ipv6/conf/br0/accept_ra_pinfo # disable ipv6 auto-address
@@ -11,9 +6,7 @@ iface br0 inet static
11 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
12 address 192.168.10.1 7 address 192.168.10.1
13 netmask 255.255.255.0 8 netmask 255.255.255.0
14 bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 9 bridge_ports tap0 tap1 tap2 tap3 tap4
15 bridge_maxwait 10 10 bridge_maxwait 10
16 up iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE 11 up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
17 up sysctl -w net.ipv4.ip_forward=1 12 up sysctl -w net.ipv4.ip_forward=1
18
19iface eth0 inet manual
diff --git a/conf/dnsmasq.conf b/conf/dnsmasq.conf.in
index 5ab9008..5ab9008 100644
--- a/conf/dnsmasq.conf
+++ b/conf/dnsmasq.conf.in
diff --git a/conf/eth0 b/conf/eth0
new file mode 100644
index 0000000..364b0a2
--- /dev/null
+++ b/conf/eth0
@@ -0,0 +1,3 @@
1auto eth0
2
3iface eth0 inet dhcp
diff --git a/conf/network_if-up.d_samizdat b/conf/network_if-up.d_samizdat.in
index 4c02c93..4c02c93 100755
--- a/conf/network_if-up.d_samizdat
+++ b/conf/network_if-up.d_samizdat.in