Skip to content

Instantly share code, notes, and snippets.

@alenkovich
Created April 20, 2016 11:00
Show Gist options
  • Save alenkovich/79100fdae986b1209e0ae39812618fc8 to your computer and use it in GitHub Desktop.
Save alenkovich/79100fdae986b1209e0ae39812618fc8 to your computer and use it in GitHub Desktop.
# iptables -t nat -A PREROUTING -p tcp -i br0 --dport 80 -j DNAT --to-destination 192.168.122.53:80
# iptables -A FORWARD -p tcp -d 192.168.122.53 --dport 80 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment