Try different firewall rules
This commit is contained in:
parent
1c962d6eb0
commit
58d2528c40
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
flush ruleset
|
flush ruleset
|
||||||
|
|
||||||
table inet filter {
|
table inet filter {
|
||||||
chain INPUT {
|
chain input {
|
||||||
type filter hook input priority 0; policy drop;
|
type filter hook input priority 0; policy drop;
|
||||||
|
|
||||||
# accept any localhost traffic
|
# accept any localhost traffic
|
||||||
|
|
@ -18,7 +18,7 @@ table inet filter {
|
||||||
tcp dport { 22, 80, 443 } accept
|
tcp dport { 22, 80, 443 } accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain FORWARD {
|
chain forward {
|
||||||
type filter hook forward priority 0; policy drop;
|
type filter hook forward priority 0; policy drop;
|
||||||
ct state { established, related } accept;
|
ct state { established, related } accept;
|
||||||
|
|
||||||
|
|
@ -27,7 +27,7 @@ table inet filter {
|
||||||
}
|
}
|
||||||
|
|
||||||
table ip filter {
|
table ip filter {
|
||||||
chain DOCKER-USER {
|
chain DOCKER {
|
||||||
mark set 1
|
mark set 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue