xingplus / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

add default gateway route #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.tunnelblick get connected to the server by getting info from a dhcp
2.real default gateway disappear rightly
3.it doesn't set the new default gateway

What is the expected output? What do you see instead?
the right default gateway

What version of Tunnelblick are you using? On what version of OS X? PPC or
Intel?
0b9

Please provide any additional information below.
i've tried all commented lines.it seems that tunnelblick couldn't set the
right route.if i try to set it manually typing sudo route delete default
172.18.8.1 everything works fine...

remote 192.84.144.7 5002
dev tap
proto tcp
client
resolv-retry infinite
persist-key
nobind
up "ifconfig tap0 up; ipconfig set tap0 DHCP; echo"
#up "ifconfig tap0 up; ipconfig set tap0 DHCP;sudo route add 172.18.8.1; echo"
#i've tried with and without delay
#up-delay 10
#i've tried both this lines
#route 0.0.0.0 255.255.255.255 172.18.8.1
#route-up "sudo route add default 172.18.8.1"
#down "sudo route delete default 172.18.8.1"
ca CA1.crt

cert client2.crt

key client2.key

ping 10

verb 7

mute 10

#this lines adds the def gateway fine on linux and windows.nothing works on
mac :(
route-gateway 172.18.8.1
redirect-gateway

Original issue reported on code.google.com by giuliana...@gmail.com on 7 May 2009 at 12:51

GoogleCodeExporter commented 9 years ago
The syntax of "redirect-gateway" requires a flag argument.

Original comment by jkbull...@gmail.com on 4 Oct 2009 at 3:47