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

I have a linux machine on which I occasionally run Windows XP in Virtual Box. All runs wonderful, except for the openvpn in XP, which can't connect to the vpn server running on a remote machine. The vpn client works from linux ... as far as I read until now it seems to be a problem of port forwarding ... I keep getting this error: TCP/UDP: Incoming packet rejected from, expected peer address: (allow this incoming source address/port by removing --remote or adding --float) , but have no idea how to fix it.

share|improve this question

closed as off topic by MDMarra, sysadmin1138 Aug 14 '11 at 19:21

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Are you using NAT networking in VirtualBox, or bridged mode? – Kamil Kisiel Dec 11 '09 at 5:25

I suspect that Kamil is right.

Change your networking in VirtualBox to Bridged instead of NAT, and I think this will work a lot better.

share|improve this answer

Also note things like this in the VirtualBox 3.1.2 user manual, section 6.3.3 "NAT Limitations" on page 94:

Protocols such as GRE are unsupported: Protocols other than TCP and UDP are not supported. This means some VPN products (e.g., PPTP from Microsoft) can- not be used. There are other VPN products which use simply TCP and UDP.

In case it helps, one thing I've done in the past, is setup openvpn on the host. This way, all the guests using NAT have access to the vpn tunnel.

share|improve this answer
That shouldn't matter in this case. OpenVPN is pure TCP or UDP, at least as far as the host/transport is concerned. – Christopher Cashell Jul 9 '10 at 16:12

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