Last active
December 16, 2015 17:28
-
-
Save meonkeys/5470168 to your computer and use it in GitHub Desktop.
Send all traffic incoming on port 443 to port 8443. Useful since I run Jenkins as a non-root user and it binds to port 8443.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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