Skip to content

Instantly share code, notes, and snippets.

@fever324
Created October 2, 2016 04:10
Show Gist options
  • Save fever324/87845fffd4c5acb85d8a6774b3c47097 to your computer and use it in GitHub Desktop.
Save fever324/87845fffd4c5acb85d8a6774b3c47097 to your computer and use it in GitHub Desktop.
Forward port on server
sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment