Cardboard Iguana Security

/

spells

/

Use the Windows Firewall to relay ports

Monday, December 16, 20241 min read

  • OS/Windows/Firewall
  • AttackCycle/LateralMovement
  • HowTo
  • Application/netsh

Note

Adapted from slyth11907 / Cheatsheets / Cheatsheet_UsefulCommands.txt.

netsh interface portproxy add v4tov4 `
      listenport=$LOCAL_PORT listenaddress=0.0.0.0 `
      connectport=$REMOTE_PORT connectaddress=$REMOTE_IP

This works on Windows 7 and later.


Graph View

Created with Quartz v4.5.1 © 2025

  • Home
  • Resume
  • Contact
  • RSS Feed