23 lines
534 B
Plaintext
23 lines
534 B
Plaintext
table inet filter {
|
|
chain input {
|
|
type filter hook input priority 0; policy drop;
|
|
|
|
iifname "lo" accept
|
|
ct state established,related accept
|
|
ct state invalid drop
|
|
tcp dport 22 accept
|
|
tcp dport 80 accept
|
|
tcp dport 443 accept
|
|
icmp type echo-request accept
|
|
log prefix "DROPPED: " drop
|
|
}
|
|
|
|
chain forward {
|
|
type filter hook forward priority 0; policy drop;
|
|
}
|
|
|
|
chain output {
|
|
type filter hook output priority 0; policy accept;
|
|
}
|
|
}
|