IP address redirection

1, Linux implementation method, implementing iptables.


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, the internal network a Linux server IP address is, 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 = connectionaddress = Connectport = 8080; View Existing Mapping> Netsh Interface PortProxy Show All

Related Posts