Created
June 1, 2017 09:10
-
-
Save andywirv/bb66dc7e2c03749936b24e8383a5aa1d to your computer and use it in GitHub Desktop.
Forward port 443 to port 8080 on localhost. Workaround for Virtualbox NAT port forwarding of ports <1024
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
# N.B does not persist across reboots | |
echo " | |
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8080 | |
" | sudo pfctl -ef - | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment