slavefw.sh created online with Bitbucket
This commit is contained in:
parent
7618905325
commit
32c1fcd24a
1 changed files with 11 additions and 0 deletions
11
slavefw.sh
Normal file
11
slavefw.sh
Normal 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
|
Loading…
Reference in a new issue