Commit bd48eb2b authored by Vitaly Lipatov's avatar Vitaly Lipatov

router scripts: switch_to_youta, switch_back

parent a2348450
#!/bin/sh -x
sysctl net.ipv4.ip_default_ttl=64
HOST01PROV=85.235.198.26
SEVEREN=81.24.122.57
ip route del $HOST01PROV
ip route add $HOST01PROV via $SEVEREN
serv openvpn reload
#!/bin/sh -x
# hack
sysctl net.ipv4.ip_default_ttl=65
ifup enp0s18f2u3
HOST01PROV=85.235.198.26
YOTAUSB=192.168.48.254
ip route del $HOST01PROV
ip route add $HOST01PROV via $YOTAUSB
serv openvpn reload
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment