Can't route all traffic to the vpn

Got a problem with Viscosity or need help? Ask here!

maara

Posts: 1
Joined: Mon Feb 27, 2017 6:19 pm

Post by maara » Mon Feb 27, 2017 6:36 pm
Hi all!

I am having difficulties accessing the remote network through the vpn when using the viscosity client on my mac, but everything works when using the official ovpn client on my win computer so I am getting confused.

I am configuring the routers I am deploying to push the redirect gateway in this fashion:
set interfaces openvpn vtun0 openvpn-option "--push "redirect-gateway def1"
set interfaces openvpn vtun0 openvpn-option "--push route 192.168.1.0 255.255.255.0"
set interfaces openvpn vtun0 server subnet 172.17.0.0/16
set interfaces openvpn vtun0 openvpn-option "--push dhcp-option DNS 192.168.1.1"

This usually works fine and my clients are passing all the traffic through the vpn. Accessing the remote router which is usually on common ip 192.168.1.1 also works fine and I am not reaching my home router.

Yesterday I have purchased the Viscosity so I can connect to the remote sites from my mac as well, imported my ovpn profiles and hoped I am ready to go.... - I was not...

I was able to connect successfully but I wasn't able to reach any of the remote addresses (although I saw them on the ip scan and my public ip was the public ip of the remote site). When trying to reach the remote router, it was my router who responded etc..... Tried to check the "Send all the traffic blah blah" in the Viscosity connection setup but no luck.
So I switched back to my win machine, dialed in using the same ovpn profile and everything worked as expected...

Any idea why this happens? - why it works fine with any win but not on my osx?

thanks!

James

User avatar
Posts: 2312
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Mon Mar 06, 2017 11:39 am
Hi maara,

I recommend checking the OpenVPN log for any error messages or warnings:
http://www.sparklabs.com/support/kb/art ... envpn-log/

If nothing stands out in the log, then I recommend checking whether there may be a routing or DNS issue:
http://www.sparklabs.com/support/kb/art ... connection

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1