Skip to content

Instantly share code, notes, and snippets.

@ernierasta
Last active July 8, 2020 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ernierasta/915ebb62dca4e70b3a5d0638269105dd to your computer and use it in GitHub Desktop.
Save ernierasta/915ebb62dca4e70b3a5d0638269105dd to your computer and use it in GitHub Desktop.
table inet filter {
chain input {
type filter hook input priority 0;
iifname $LXC_BR accept \
comment "Accept any LXC (bridge interface) traffic"
# common services on host
tcp dport { 22, 443 } accept;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment