Skip to content

Instantly share code, notes, and snippets.

@devisnotnull
Created September 28, 2017 11:41
Show Gist options
  • Save devisnotnull/c8ae4ba975dfff01f74972167cc37139 to your computer and use it in GitHub Desktop.
Save devisnotnull/c8ae4ba975dfff01f74972167cc37139 to your computer and use it in GitHub Desktop.
Forward port request to another networked machine
sudo iptables -t nat -A OUTPUT -p tcp -m tcp --dport 999 -j DNAT --to-destination 10.10.10.10:443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment