Skip to content

Instantly share code, notes, and snippets.

@cransom
Created March 28, 2018 19:26
Show Gist options
  • Save cransom/3fdce43532073e902b385263629960be to your computer and use it in GitHub Desktop.
Save cransom/3fdce43532073e902b385263629960be to your computer and use it in GitHub Desktop.
iptables -A FORWARD -i eno1.25 -o eno1.20 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eno1.25 -o eno1.10 -j ACCEPT
iptables -A FORWARD -i eno1.10 -o eno1.25 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eno1.25 -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment