Skip to content

Instantly share code, notes, and snippets.

@bign8
Last active February 22, 2022 22:46
Show Gist options
  • Save bign8/2a232d24efffc320d754529a148d4102 to your computer and use it in GitHub Desktop.
Save bign8/2a232d24efffc320d754529a148d4102 to your computer and use it in GitHub Desktop.
FreeBSD Jail Permanent Port Forwarding
@reboot /etc/ipfw.rules
ipfw -q -f flush # Delete existing rules
ipfw add 100 fwd 127.0.0.1,9091 tcp from any to any 80 in # Forward 80 -> 9091
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment