allowed loopback traffic
This commit is contained in:
parent
be8d249c29
commit
baa554ffd0
|
@ -26,6 +26,7 @@ table ip filter {
|
||||||
type filter hook input priority filter; policy drop;
|
type filter hook input priority filter; policy drop;
|
||||||
ct state invalid drop;
|
ct state invalid drop;
|
||||||
ct state {related,established} accept;
|
ct state {related,established} accept;
|
||||||
|
iifname "lo" accept;
|
||||||
tcp dport @allowed_tcp_ports accept;
|
tcp dport @allowed_tcp_ports accept;
|
||||||
udp dport @allowed_udp_ports_in accept;
|
udp dport @allowed_udp_ports_in accept;
|
||||||
}
|
}
|
||||||
|
@ -36,5 +37,6 @@ table ip filter {
|
||||||
chain out {
|
chain out {
|
||||||
type filter hook output priority filter; policy drop;
|
type filter hook output priority filter; policy drop;
|
||||||
udp dport @allowed_udp_ports_out accept;
|
udp dport @allowed_udp_ports_out accept;
|
||||||
|
oifname "lo" accept;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue