IP address redirection

1, Linux implementation method, implementing iptables.

2.Windows

Can pass Netsh

Https://docs.microsoft.com/zh-cn/windows/win32/winhttp/proxycfg-exe -a-proxy-configuration-tool

The current Windows server IP address is 121.21.36.190, the internal network a Linux server IP address is 192.168.99.10, I now want to map a port 81 to the 8080 port of this Linux server through Win server, then do it on the DOS.The command is as follows:

> Netsh Interface PortProxy Add V4TOV4 Listenport = 81 listenAddress = 121.21.36.190 connectionaddress = 192.168.99.10 Connectport = 8080; View Existing Mapping> Netsh Interface PortProxy Show All

Related Posts