Created
November 20, 2019 20:18
-
-
Save manueldev/a30ff1f85d1b407c75d5ed0291b27ba8 to your computer and use it in GitHub Desktop.
port forwading windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netsh interface portproxy add v4tov4 listenport=8001 connectport=80 connectaddress=127.0.0.1 |
netsh advfirewall firewall add rule name="Open Port 15179" dir=in action=allow protocol=TCP localport=15179
open SSH
netsh interface portproxy add v4tov4 listenport=9002 connectport=22 connectaddress=192.168.168.1
netsh advfirewall firewall add rule name="Open Port 9002" dir=in action=allow protocol=TCP localport=9002
netsh interface portproxy add v4tov4 listenport=9003 connectport=443 connectaddress=192.168.8.1
netsh advfirewall firewall add rule name="Open Port 9003" dir=in action=allow protocol=TCP localport=9003
ENTEL BAM
netsh interface portproxy add v4tov4 listenport=9004 connectport=443 connectaddress=192.168.9.1
netsh advfirewall firewall add rule name="Open Port 9004" dir=in action=allow protocol=TCP localport=9004
MOV BAM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
netsh advfirewall firewall add rule name="Open Port 8888" dir=in action=allow protocol=TCP localport=8888