Created
April 22, 2016 05:32
-
-
Save Nimdis/a3c0db16801cd6343bfa4690dd59b2de to your computer and use it in GitHub Desktop.
lxc port forwarding
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
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to [DestinationIP:PORT] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment