vpnc is only "ready": routing table not correct

asked 2017-02-09 22:15:16 +0300

ausgeregelt gravatar image

updated 2017-02-10 09:24:23 +0300

I have configured vpnc through the GUI but it does not seem to actually "do it". When activating the connection I get the confirmation "connected" below the VPN-Name. But when browsing to a website I still get my local IP address and not the remote IP address. Furthermore I cannot access the private servers in the remote network.

Authentication seems to work fine because if I change usernames or passwords connection wont work.

When looking at the details of the connection I can see the remote IP address stated there, the status is only "ready" though, does this have a signification?

When using vpnc in the terminal I can access the private servers and the website show me the remote IP address.

edit retag flag offensive close delete


  • are you able to ping the next point behind tunnel?
  • does ip route show an default gw via an vpnx interface or still via wlan/gprs interface?
cy8aer ( 2017-02-09 22:23:54 +0300 )edit
  • When doing ping I get 100% packet loss.

  • When entering ip route I get dev wlan0 proto kernel scope link src dev wlan0 scope link

remote dev vpn0 scope link

remote dev vpn0 scope link

remote dev vpn0 proto kernel scope link src remote

remote via dev wlan0

where remote are remote IP-addresses and masks.

ausgeregelt ( 2017-02-09 22:34:35 +0300 )edit

When I do ip route after having connected with command line vpnc I get:

default dev tun0 scope link dev wlan0 proto kernel scope link src dev wlan0 scope link

remote dev tun0 scope link

remote via dev wlan0 src

ausgeregelt ( 2017-02-09 22:39:04 +0300 )edit

Ok, the problem is the p2p-connection itself. You cannot ping your peer inside the tunnel. But the default gateway is set. When running the tunnel: Is a ping to any site in bbi (bad bad internet) like possible? Because the routing shows that everything is put into the non functioning tunnel. Try a ps and look for the vpnc call. As in openvpn the connman job seems to interpret configurations and builds up a call with setting the parameters. Do the parameters look like the ones you use in terminal?

cy8aer ( 2017-02-09 23:22:33 +0300 )edit

i have the same issue when using www.ipchicken.org it shows wlan IP of router instead of VPN connection say in Kansas USA using open VPN imported file TCP also does connect but doenst do anything.

DarkTuring ( 2017-02-10 03:43:10 +0300 )edit