Configure port forwarding with NAT
2013-12-04 10:39
218 查看
From: http://scriptogr.am/kevinshen/post/configure-port-forwarding-with-nat
terminology:
guest: virtual machine like Ubantuhost: physical machine where virtual machine is running on, e.g. Windows 7
virtual machine app: VMware, Virtual Box etc.
with NAT configuration:
guest lives in a private network virtual machine app created. host and other guest can't access the service it exposes. use port forwarding will let virtual machine app listens to the certain ports on
the host and forward to guest. we will utilize it to expose same port on both host and guest
Steps:
create a rule in the virtual machine application, set Host IP: 127.0.0.1, set HostPort: 3000, set Guest Port: 3000
in guest, listen to port 3000.
in host, open a web browser, type: localhost:3000. it will send get request to guest
相关文章推荐
- Configure port forwarding with NAT
- (OK) How to access a NAT guest from host with VirtualBox - NAT Port Forwarding
- (OK)(OK) using adb with a NAT'ed VM - VirtualBox - NAT Port Forwarding
- Forward a TCP port to another IP or port using NAT with Iptables
- (OK) android update sdk - virtualbox nat port forwarding adb "device offline"
- VirtualBox 4 – NAT Port Forwarding GUI
- VirtualBox NAT Port Forwarding Settings(Windows XP)
- (OK)(OK) adb -s emulator-5554 shell - natpf1 - VirtualBox - NAT Port Forwarding
- NAT技术中的Port Forwarding & Port Triggering
- NAT&Port Forwarding&Port Triggering
- How to configure OpenFiler v2.3 iSCSI Storage for use with VMware ESX.
- How to configure windows machine to allow file sharing with dns alias (CNAME)
- Configure swagger with spring boot
- configure: error: cannot link with -luuid,install uuid-dev.
- tomcat 大并发报错 Maximum number of threads (200) created for connector with address null and port 8080
- Configure Excel Services with multiple servers in SharePoint Server 2013
- tomcat 大并发报错 Maximum number of threads (200) created for connector with address null and port 8080
- configure: WARNING: unrecognized options: --with-mysql
- Cisco PIX – TCP, UDP, NAT, PAT and Port Redirection
- Parallel Port Programming (Part 2): with Visual C++