Problem with a client running under VirtualBox

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
gerardo
OpenVpn Newbie
Posts: 2
Joined: Mon May 23, 2011 5:19 pm

Problem with a client running under VirtualBox

Post by gerardo » Mon May 23, 2011 5:38 pm

I have successfully installed openvpn on a server and two clients.

The server and one of the clients (call this client c1) run openSUSE 11.3 natively.
The second client runs openSUSE 11.3 under VirtualBox as the guest of a Windows 7 host (call this client c2).

The server is configured to allow client-to-client connections.

Server and client firewalls are configured to allow ssh connections.

I can ssh from c2 to either the server or c1.

I can ssh from server to c1, and vice-versa.

I cannot ssh from either the server or c1 to c2, even with Windows 7 allowing ssh through or with its firewall (momentarily) disabled.

I can't even ssh from c2 to itself via any of the IPs listed by ifconfig.

I suspect a "feature" in VirtualBox is preventing c2 from allowing ssh connections, but I have been unable to find out how to fix this. I tried both Bridged and NAT configurations for the VirtualBox-provided network "adapters", to no avail.

Any suggestions on how this can be fixed will be most appreciated.

Saludos,

Gerardo
--
Dr. Gerardo Cisneros S.
Mexico

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Problem with a client running under VirtualBox

Post by janjust » Mon May 23, 2011 7:25 pm

I can't even ssh from c2 to itself via any of the IPs listed by ifconfig.
if this is true then it's not openvpn related at all; if a simple 'ssh 127.0.0.1' does not work then you need to fix this first.

gerardo
OpenVpn Newbie
Posts: 2
Joined: Mon May 23, 2011 5:19 pm

Re: Problem with a client running under VirtualBox

Post by gerardo » Mon May 23, 2011 7:35 pm

janjust wrote:
I can't even ssh from c2 to itself via any of the IPs listed by ifconfig.
if this is true then it's not openvpn related at all; if a simple 'ssh 127.0.0.1' does not work then you need to fix this first.
Thanks for the reply.

I guess I will need to take the issue to a VirtualBox forum then, because 'ssh 127.0.0.1' in fact fails to work on the Linux that's running under VirtualBox.

(An addition to the original post: ping among _any_ pair selected from {c1,c2,server}, in any direction, does work.)

Post Reply