Skip to content

Instantly share code, notes, and snippets.

@Faizanq
Created May 3, 2019 05:26
Show Gist options
  • Save Faizanq/80a0fe5c025206b818e32fc4a6a4ebcb to your computer and use it in GitHub Desktop.
Save Faizanq/80a0fe5c025206b818e32fc4a6a4ebcb to your computer and use it in GitHub Desktop.
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment