Closed anmolsarma closed 7 years ago
well gg
tried to set up tunnel between remote hosts and totally lost connection to client host
because of mistake in
route add -host $provider $old_default
it should be
route add -host $provider gw $old_default
otherwise you will get SIOCADDRT: No such device error
and end up with missing default route on client
also if you close tunnel you will also end up with missing default route on client
this script should be as example so user can look at it first
thank you :)