Skip to content

Outgoing Forward missing #1

Description

@TheFox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions