Hi,

On Mon, Apr 24, 2017 at 10:07 AM, David Mehler <dave.meh...@gmail.com>
wrote:

> Mon Apr 24 09:51:34 2017 C:\WINDOWS\system32\route.exe ADD
> xxx.xxx.xxx.xxx MASK 255.255.255.255 192.168.2.1
> Mon Apr 24 09:51:34 2017 env_block: add
> PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
> Mon Apr 24 09:51:34 2017 C:\WINDOWS\system32\route.exe ADD 0.0.0.0
> MASK 128.0.0.0 192.168.0.1
> Mon Apr 24 09:51:34 2017 env_block: add
> PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
> Mon Apr 24 09:51:34 2017 C:\WINDOWS\system32\route.exe ADD 128.0.0.0
> MASK 128.0.0.0 192.168.0.1
>

The required routes for redirect-gateway are being added, so it should
work. Check the routing table ("route print" will show it) to see why the
traffic is not going via the tunnel.

The logs show you are not using interactive service --- is openvpn is
started directly (not using the GUI)?  If so you have to run it with admin
privileges. If you are using the GUI, do not run as admin and let the
interactive service set the routes.

By the way, though not related, setting the tunnel network to 192.168.0.0/24
is asking for trouble -- use a less common subnet.

Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to