pmaports/main/postmarketos-config-nftables/rules/51_docker.nft
2021-10-24 15:13:11 +03:00

11 lines
330 B
Text

#!/usr/sbin/nft -f
table inet filter {
chain input {
iifname "docker*" accept comment "Allow incoming network traffic from Docker"
}
chain forward {
iifname "docker*" accept comment "Allow outgoing network traffic from Docker"
ct state {established, related} counter accept comment "accept established connections"
}
}