Sorry, it's not what I want.
I try to configure the VPN client. The server pushes redirect-gateway
and I want to avoid it. I know I can use route-nopull however it's not
what want as the server pushes a lot of routing entries. I just want
to ignore/define the default gateway - that's all.
I can do it manually:
route delete default
route add default MY_DEFAULT_IP
I want to do it automatically through Tunnelblick. I tried to add a
short sh script which contained the lines above and then:
script-security 2
up up.sh
but it seems like the up-script is not executed (it's working while
running manually).
here is what i get when run openvpn from the command line:
Wed May 4 00:31:55 2011 us=385799 up.sh tun0 1500 1542 172.22.11.154
172.22.11.153 init
Wed May 4 00:31:55 2011 us=391740 script failed: could not execute
external program
I tried to pust exit 0 at the beginning to see if the problem is
inside the script but it's not.
any ideas?
On Apr 26, 4:57 pm, "jkbull...
gmail.com" <
jkbull...@gmail.com> wrote:
> You say "for now all connections go through the VPN (and in the result I'm
> out of the Internet, just local network)."
>
> Do you mean that all traffic goes through the VPN and that you would like
> some traffic to not go through the VPN?
>
> If so, look at the "--redirect-gateway" option on the OpenVPN man page<
http://openvpn.net/index.php/open-source/documentation/manuals/69-ope...>.