Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PC running Windows 7 as the host for a Ubuntu Server 12.04 VirtualBox-Guest installation. On this guest OS I installed OpenVPN following the tutorial on help.ubuntu.com. I am now running Mac OS X Mountain Lion with TunnelBlick and am trying to connect to the OpenVPN server without success so far.
As for the VirtualBox installation everything should be defaulted but port forwarding 1194 (and port 22 for SSH). I am also forwarding this port within my router to the host OS.

While I have no trouble connecting through SSH I can not get access to OpenVPN.

Is it even possible to have OpenVPN running inside a Guest OS and use it as a vpn?

What would be a good way to troubleshoot this connection?

share|improve this question

migrated from serverfault.com Aug 23 '13 at 16:24

This question came from our site for system and network administrators.

1 Answer 1

up vote 1 down vote accepted

The direct answer to your question is probably that you've forwarded port 1194 of the TCP protocol rather than UDP.

But the better solution is this:

Change the adapter to use bridged network then the guest gets direct access to the LAN without the requirement to implement additional port forwards Host->Guest.

Then port forward UDP/1194 from the internet/wan through to the IP of the guest on your lan.

If you're still having problems, post your tunnelblick connection log.

share|improve this answer

Your Answer

 
discard

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.