Skip to content

Instantly share code, notes, and snippets.

@boy3vil
Created September 24, 2019 03:29
Show Gist options
  • Save boy3vil/ab925ef46867ba0ea46d5a131b098e79 to your computer and use it in GitHub Desktop.
Save boy3vil/ab925ef46867ba0ea46d5a131b098e79 to your computer and use it in GitHub Desktop.
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080
nmap -sS -O 192.168.100.2/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment