Skip to content

Instantly share code, notes, and snippets.

@bvolpato
Last active June 27, 2022 22:31
Show Gist options
  • Select an option

  • Save bvolpato/7c237bec67f725cc6b9595dbf787a314 to your computer and use it in GitHub Desktop.

Select an option

Save bvolpato/7c237bec67f725cc6b9595dbf787a314 to your computer and use it in GitHub Desktop.
Redirect port 8443 to 443
echo "
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
" | sudo pfctl -ef -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment