Update sn_startup.sh.j2
This commit is contained in:
parent
b238eb2409
commit
454e2110f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user