slavefw.sh created online with Bitbucket

This commit is contained in:
Daniel afx 2018-01-16 02:01:46 +00:00
parent 7618905325
commit 32c1fcd24a

11
slavefw.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
PUBIF=ens18
TRANSPORT_IP="1.2.3.252/24"
TRANSPORT_GW="1.2.3.1"
ip addr add $TRANSPORT_IP dev $PUBIF
sleep 5
ip route add default via $TRANSPORT_GW
python3 /root/frankenrouter.py