You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
476 B
23 lines
476 B
table inet firewall {
|
|
|
|
chain input {
|
|
type filter hook input priority 0; policy drop;
|
|
|
|
# established/related connections
|
|
ct state established,related accept
|
|
|
|
# loopback + lxdbr0 interface
|
|
iifname lo accept
|
|
iifname lxdbr0 accept
|
|
|
|
# icmp
|
|
icmp type echo-request accept
|
|
|
|
# allow mDNS
|
|
udp dport mdns accept
|
|
|
|
# allow SSH + GITEA + NGINX
|
|
tcp dport {22, 2222, 80, 443} accept
|
|
}
|
|
|
|
}
|