1. First click on "Edit" in the VMware window, select "Nat mode" and go to "NAT Settings" add "settings
(This is the setting for the virtual machine)
192.168.0.100 is the IP address of my virtual machine, which can be queried by ifconfig at the Kali terminal.
Set the virtual machine external port 8080 to map to the 8086 port of the Kali system
Click Confirm, the virtual machine VMware System Kali port mapping is done.
2. Set the win7 system to open 8080 ports.
Control Panel System and security Windows Firewall Advanced Settings Inbound rules (right-click, new Inbound Rule port next) Select TCP and input port 8080. It's OK to give it a name.
(Win7 operating system settings)
3. Local network Map to win7 192.168.0.100 (LAN IP i operate)
Kali use Ifconfig to query the gateway address
Win7 can query gateway address with Ipconfig (note the difference between win and Linux query command if and IP)
Login Router Advanced settings advanced User Virtual Server Add "Enter the external and internal ports, and your native IP address (the router may be different sequentially).
This operation of the external network port is also set 8080 port, the internal port is the same as previously set. The IP address fills in the IP of the virtual machine. Protocol select TCP. Click Save to restart the router.
Kali Training and Technology Exchange group: There are Xuan Soul lecturer in the public trial class, as well as the Kali Linux VIP trainees training. People who are interested in learning and communicating can add group number (119655426)
LAN Win7 system: Virtual machine VMware kali do port mapping