Page 1 of 1

[Closed] Cannot connect to Virtual Machine(guest OS)

Posted: Wed Oct 16, 2013 7:09 pm
by ebinjozer@gmail.com
Hi,
I am using OpenVPN. My setup is, my host OS is running in Windows 7 and i have installed and configured OpenVPN (as Server). and i have configured OpenVPN in my laptop(as client). In my host OS ie windows 7 . i have installed VMware workstation. My guest OS are Linux's.

i am able to ping from client to VPN server(with vpn ip address 10.8.x.x)

Note : i have enabled IP forwarding in windows 7(ie VPN Server/Host OS).

My question is
i am not able to ping or access(using putty) the guest OS(LINUX OS) running in VMware.


can any one help me on this????

Re: Cannot connect to Virtual Machine(guest OS)

Posted: Thu Oct 31, 2013 1:33 pm
by ebinjozer@gmail.com
Hi,
I have planned to use Windows 7 as VPN Server. In that i have installed VMware Workstation.
MY Windows 7(VPN server) uses a PUBLIC IP.

I have configured VPN and the following is the VPN Server config files.

port 1194
proto tcp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
palive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
log-append openvpn.log
verb 3

In my other laptop, i have configured client and when i connect, it is SUCCESSFULLY connecting with VPN SERVER.

I can Ping with VPN Server also.

When i am trying to ping with VM (ip:192.168.168.128) . I not able to do that.

I have enabled IP Forwarding in VPN SERVER(WINDOWS 7)

WHY? i am not able to ping/access the VM machines