Can't manage to connect my virtual machine to the internet - vmware-player

I have a windows server 2003 as the guest in VMware player and windows 7 enterprise as the host. I'm trying to connect to the inernet from my guest and i can't. In my VMware player virtual machine settings my network addapter is set to NAT but i can't get it to work.My host is in the work LAn and connected to the internet through it. Could this have something to do with it not working properly? Do I have to perform some special setup?

The problem may be caused by:
You're NATting to the wrong host's network interface in the VM's option.
Your VM's NIC DNS configuration is wrong. To verify this issue, try to PING the host's NIC from the VM.

Related

Unable to access ESXi-7 with web client

After installing VMware ESXi 7 with VMware Workstation, I can't access it from web client from the displayed IP.
This is my IPv4 configuration.
Any idea how to fix this?
Try to ping your ESXi, check your network configuration gateway and IP address.
How did you configure vmware workstation ? I guess your issue come from your network configuration on vmware workstation.
This documentation may help you to choose the right network to use on Vmware Workstation for your need. https://docs.vmware.com/en/VMware-Workstation-Player-for-Windows/16.0/com.vmware.player.win.using.doc/GUID-C82DCB68-2EFA-460A-A765-37225883337D.html
Add https:// before the IP address.

How to set Virtualbox centos 7 client to share host vpn

I need to access vpn of host from my virtualbox vm centos.
But search and tried several method failed.
Environment:
Host: Win10
VPN: shadowsocks-windows
Virtual box 5.2
Client: Centos 7
Search from google, many set virtualbox to use Bridge mode.
Here I use NAT mode and passed.
Enable shadowsocks to allow local network connection
Set Virtualbox to use NAT network Adapter
Get virtualbox network adapter ip by run cmd in centos consle: $ ip route show
Set Centos network proxy to use virtualbox network adapter ip and shadowsocks server port, by default is 1080
Then enjoy!
The following looks a good answer to the question:
virtualbox guest os through vpn
https://superuser.com/questions/987150/virtualbox-guest-os-through-vpn

pfsense: Can't access web console when using virtualbox

I've installed pfsense 2.3 x64 in virtualbox with 2 adapters; One is bridged to my wifi adapter (adsl modem) (WAN) and the other one set as'Internal network' ('intnet') (Lan);
The problem is that although pfsense can automatically detect dhcp over first adapter and get an IP but my system (the host) can not ping the pfsense server (pfsense can ping both adsl modem gateway and the host).
Note1: Disabling the antivirus and firewall (kaspersky internet security 2016) has no effect.
Note2: I know that this setup works because I use the exact same network configurations for a Kerio Control server (v9.0.2, installed in virtualbox)
Note3: If I constantly ping pfsense server in my host (ping 192.168.1.102 -t) and at the same time restart pfsense server, during the booting phase of pfsense I can get two pings!
After contacting the pfsense official forum, it turned out that the WAN interface blocks everything by default. Therefore, either a rule should be defined to allow WAN to accept traffic or access server from LAN side.
I figured this out without having to go through the WAN interface, answer is on the pfsense forum
Configure host-only network "vboxnet1" (or any of the other host-only networks if you're already using vboxnet1 for other VMs) with the following:
192.168.1.77 (or whatever IP you want your host to appear as on the network)
255.255.255.0
DHCP Disabled
The make sure that the LAN adapter on your pfSense VM is a "Host-only Adapter" and that it's using "vboxnet1" (or whatever network you configured above)
Reboot/re-install and http://192.168.1.1 should work now

VMware Workstation Player bridged connection doesn't work

I tried to use bridged connection VMware and Virtualbox but doesn't work.I need a router ? or I need another wireless adapter?
Brigde mode means that VM's network cart simulates connection to your real physical network. You may setup static IP, mask and gateway of your network or obtain them by dhcp (yes, you need router to configure your local network).

How to enable connection to virtualbox machine from outside the Host (i.e. from any PC connected to Internet)

I have a Host with VirtualBox installed and Guest installed (both with Windows XP SP3).
I do have connection between them. And also the guest have an internet connection.
I can connect via Remote Desktop Connection from Host to Guest, but I also want to be able to connect to Guest from any other PC. If can, how to achieve this?
Guest is using 2 network adapters, one NAT for sharing the internet connection and then one Host-only to be able for both machines to see each other on the local network.
Assuming you have an Internet router providing access to your ISP...
Change the VM networking from NAT to Bridged.
Check that the guest still has Internet connectivity after rebooting or ipconfig /renew.
Configure the router to give the guest a fixed IP address. (Typically, the guest can still use DHCP but the router is configured to give the guest the same IP address every time.)
Determine which ports and protocols needed to connect with the guest. E.G, TCP on port 3389 (RPD) for Remote Desktop.
Configure the router's "port-forwarding" feature to route external connections to the IP address of your guest. You can designate a different port for the external connections but that might not get through firewalls between the remote computer and its ISP.
Determine the external IP address of your Internet router.
Connect from the remote computer to the IP address and designated port.