Page 1 of 1

redirect-gateway's block-local parameter isn't working

Posted: Mon Mar 16, 2015 6:39 pm
by wonderous
First I used redirect-gateway in the server side .conf:

Code: Select all

push "redirect-gateway def1 block-local"
At this point, Server-side-pushed redirect-gateway alone (without adding it in client side .conf) works perfectly for my local PC where traceroute shows the local traffic going through the tunnel, but not for my iOS device where traceroute shows the local traffic going directly to the LAN router.

So, I next used redirect-gateway in the iOS client side .conf:

Code: Select all

redirect-gateway def1 block-local
But nothing changed on the iOS... traceroutes continue to show local traffic going directly to the LAN router.

Any solutions?
Thanks much.

Re: redirect-gateway's block-local parameter isn't working

Posted: Tue Mar 17, 2015 4:38 pm
by Traffic
Please post configs and logs ...

Re: redirect-gateway's block-local parameter isn't working

Posted: Wed Mar 18, 2015 11:14 pm
by stanleysong
You can not use all of OVPN options in OVPN CON for iOS, because iOS does not support all of OPVN options yet.

in my case no-iv, no-replay does not supported. and it caused session invalidated:BUFFER_ERROR error and reconnecting ever 9 seconds, no ICMP packet out or in.

check unused options section in log view.
if is there your options u have to change ur server settings.

Best Regards Stanley.