Update sn_startup.sh.j2

This commit is contained in:
stebifan 2016-01-25 18:45:45 +01:00
parent b238eb2409
commit 454e2110f2

View File

@ -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