Unable to connect properly to VPN with Kvpnc

Asked by onegreenparker

I am trying to use Kvpnc to connect to my office VPN, I used the wizard to set up the connection and went back into configuration to tweak a couple of things, such as use the IP address of the VPN gateway and add a route. Kvpnc shows that I have successfully connected to the VPN, however I am unable to reach any of the servers or websites that are inside the VPN.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu kvpnc Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Craig Huffstetler (xq) said :
#1

Can you reach the servers or website by IP address?

Can you reach them by adding local to the end of their names?

For example if I were trying to reach a server inside the VPN network called "caffeine" on port 80 (my web browser), I would open up Firefox and go to:

http://caffeine.local
Have you tried that?

Or let's say I know caffeine's IP address is 192.168.1.1

I could go to:
http://192.168.1.1
In my web browser. It should load caffeine's apache home page or whatever I have configured at caffeine's port 80 address.

Let me know.

It may be just an extra step you need to take in configuring your VPN to work with your windows servers, which I am assuming this is a case of ;-)

Or you can always add the IP addresses manually to your /etc/hosts file with the names of each P.C. This will also solve the issue.

Sincerely,

Craig

Revision history for this message
Craig Huffstetler (xq) said :
#2

Also, make sure you have the proper VPN plugins installed.

For example: either network-manager-pptp, network-manager-vpnc (Cisco) or network-manager-openvpn (use Synaptic Package Manager or apt-get).

A good, short guide that is worth reading:
https://help.ubuntu.com/community/VPNClient#Rerouting%20communications

**Make sure to add the proper DNS/resolv.conf entry so that you have DNS resolution when you connect using Kvpnc. Are you specifying the DNS servers in Kvpnc? Are you specifying the gateway to use once connected?

You need to do this otherwise, once connected, your computer's network connection will have no idea how to route traffic properly!**

Again, please try to use IP addresses and appending .local to machine names you know (for remote desktoping, VNCing or even just in a web browser if they are running Apache or IIS...). If that works, you know it's just a DNS issue and you need to setup your DNS/resolver configuration properly in Kvpnc, /etc/hosts manually or resolv.conf

Craig

Can you help with this problem?

Provide an answer of your own, or ask onegreenparker for more information if necessary.

To post a message you must log in.