Last active
August 19, 2024 07:15
-
-
Save bluebycode/87120cff5bcbc3edd13d4c076ca9e19a to your computer and use it in GitHub Desktop.
Port forwarding from 443 to 22 using iptables #iptables #forward #redirection
This file contains hidden or 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 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment