From 454e2110f2877ae7e054d07d5d272d85b75ce55d Mon Sep 17 00:00:00 2001 From: stebifan Date: Mon, 25 Jan 2016 18:45:45 +0100 Subject: [PATCH] Update sn_startup.sh.j2 --- files/sn_startup.sh.j2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/files/sn_startup.sh.j2 b/files/sn_startup.sh.j2 index 5c84904..a637274 100644 --- a/files/sn_startup.sh.j2 +++ b/files/sn_startup.sh.j2 @@ -40,6 +40,12 @@ done # Allow MAC address spoofing /sbin/sysctl net.ipv4.conf.bat0.rp_filter=0 +# Create Tunneldigger Bridge +/sbin/brctl addbr br-nodes +/sbin/ip link set dev br-nodes up +/sbin/ebtables -A FORWARD --logical-in br-nodes -j DROP +/usr/local/sbin/batctl if add br-nodes + sleep 5 # Start tunneldigger @@ -54,10 +60,4 @@ sleep 5 /bin/systemctl restart isc-dhcp-server /bin/systemctl enable isc-dhcp-server -# Create Tunneldigger Bridge -brctl addbr br-nodes -ip link set dev br-nodes up -ebtables -A FORWARD --logical-in br-nodes -j DROP - - exit 0