Hello,
thank you for providing such a script. This is really nice.
There is one rule I miss. When I want to ping from inside the Docker container, for example, ping 8.8.8.8, I'm getting blocked:
NFTABLES IPv4 FORWARD DROP - IN=docker0 OUT=eno1 PHYSIN=veth1504c43 SRC=172.17.0.4 DST=8.8.8.8 ...
I'm logging the Drops with another nftables hook and include your's into my main script at the beginning using include "/etc/nftables_docker.nft".
I wanted to add
iif docker0 oif eno1 accept
at the end of your forward hook, but this doesn't seem to work.
Hello,
thank you for providing such a script. This is really nice.
There is one rule I miss. When I want to ping from inside the Docker container, for example,
ping 8.8.8.8, I'm getting blocked:I'm logging the Drops with another nftables hook and include your's into my main script at the beginning using
include "/etc/nftables_docker.nft".I wanted to add
at the end of your forward hook, but this doesn't seem to work.