Skip to content

Instantly share code, notes, and snippets.

@manueldev
Created November 20, 2019 20:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manueldev/a30ff1f85d1b407c75d5ed0291b27ba8 to your computer and use it in GitHub Desktop.
Save manueldev/a30ff1f85d1b407c75d5ed0291b27ba8 to your computer and use it in GitHub Desktop.
port forwading windows
netsh interface portproxy add v4tov4 listenport=8001 connectport=80 connectaddress=127.0.0.1
@manueldev
Copy link
Author

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

@manueldev
Copy link
Author

netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80

@manueldev
Copy link
Author

netsh advfirewall firewall add rule name="Open Port 443" dir=in action=allow protocol=TCP localport=443

@manueldev
Copy link
Author

netsh interface portproxy add v4tov4 listenport=9001 connectport=443 connectaddress=192.168.168.1
edgeos

@manueldev
Copy link
Author

nslookup

@manueldev
Copy link
Author

netsh advfirewall firewall add rule name="Open Port 9001" dir=in action=allow protocol=TCP localport=9001

@manueldev
Copy link
Author

netsh advfirewall firewall add rule name="Open Port 8888" dir=in action=allow protocol=TCP localport=8888

@manueldev
Copy link
Author

netsh advfirewall firewall add rule name="Open Port 15179" dir=in action=allow protocol=TCP localport=15179

@manueldev
Copy link
Author

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

@manueldev
Copy link
Author

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

@manueldev
Copy link
Author

manueldev commented Feb 9, 2020

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