astroza / udptunnel

It allows TCP/UDP/ICMP traffic over UDP tunneling. It's useful to avoid Internet restrictions.
GNU General Public License v2.0
686 stars 130 forks source link

Fix Linux client script #6

Closed anmolsarma closed 7 years ago

astroza commented 7 years ago

thank you :)

serfreeman1337 commented 6 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