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

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
wonderous
OpenVpn Newbie
Posts: 1
Joined: Mon Mar 16, 2015 6:23 pm

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

Post by wonderous » Mon Mar 16, 2015 6:39 pm

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.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Tue Mar 17, 2015 4:38 pm

Please post configs and logs ...

User avatar
stanleysong
OpenVpn Newbie
Posts: 6
Joined: Wed Mar 18, 2015 2:34 am

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

Post by stanleysong » Wed Mar 18, 2015 11:14 pm

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.

Post Reply