Skip to content

Add an iptable and ufw note in Docker hardening guide #273

Open
@thebigbone

Description

@thebigbone

There is no mention of the fact that docker adds a bunch of iptable rules which can interfere with the original firewall settings.

Additionally, if you are using ufw alone for applying firewall settings, it will definitely override all the rules that you add.

The solutions to it are either using ufw-docker project or limit the exposure of the containers to loopback addresses (127.0.0.1) instead of running it on all addresses (0.0.0.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    [c] update existingExisting content updates (beyond trivial fixes)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions