-
-
Save manueldev/a30ff1f85d1b407c75d5ed0291b27ba8 to your computer and use it in GitHub Desktop.
netsh interface portproxy add v4tov4 listenport=8001 connectport=80 connectaddress=127.0.0.1 |
netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80
netsh advfirewall firewall add rule name="Open Port 443" dir=in action=allow protocol=TCP localport=443
netsh interface portproxy add v4tov4 listenport=9001 connectport=443 connectaddress=192.168.168.1
edgeos
nslookup
netsh advfirewall firewall add rule name="Open Port 9001" dir=in action=allow protocol=TCP localport=9001
netsh advfirewall firewall add rule name="Open Port 8888" dir=in action=allow protocol=TCP localport=8888
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
open icmp port windows ping
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow