Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to open inbound connections to a machine connected to a VPN server?

The machine is running ubuntu 9.10 with two network devices(a wireless card and ethernet port), I can connect to my machine locally using a local ip but when I try port forward using my router I can't connect from my external ip.

Is there a way around this? I figure with 2 network devices I can vpn over one and use the other for inbound connections but I can't figure out how to do this.

share|improve this question
up vote 0 down vote accepted

It's a common practice for VPN software to change the client computer's routing table and set the VPN interface as the default gateway. I think the reasoning behind this is to add an extra bit of security, so the data coming in through the LAN interface would not get into VPN channel. So, this is actually a good thing.

If you still want to change this behavior, check your default gateway using route command and, if it's set to the VPN interface, try to find relevant settings in your VPN client.

In some cases, though, it can only be changed on the server.

You might also want to thumb through this old discussion on Launchpad

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.