Skip to content

Commit

Permalink
Update linux_client.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ExplosiveBattery committed Jun 7, 2018
1 parent 8b4ffc2 commit a2f0e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/linux_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
ifconfig tun0 10.0.0.2 pointopoint 10.0.0.1 mtu 1400 up
old_default=$(route | grep default | awk '{print $2}')
provider=$1
route add -host $provider $old_default
route add -host $provider gw $old_default
route delete default
route add default 10.0.0.1
route add default gw 10.0.0.1

0 comments on commit a2f0e9b

Please sign in to comment.