Skip to content
U

Ufw Docker

To fix the Docker and UFW security flaw without disabling iptables

by chaifengFree

#932in Developer Tools
0In stores

Description

ufw-docker is a fix for a known problem on Ubuntu servers: Docker publishes container ports in a way that bypasses UFW, the firewall front e…

Highlights

  • Makes UFW rules apply to Docker published ports
  • Keeps Docker's iptables management enabled
  • Works with new Docker networks
  • Instructions to revoke the change
  • English and Chinese documentation

Ratings & Reviews

No ratings yet

Be the first to rate Ufw Docker.

People also visit

W

Whalewall

Automate management of firewall rules for Docker containers

Developer Tools
Launch
U

Ufw Docker Automated

Manage UFW (Uncomplicated Firewall) rules for Docker containers

Developer Tools
Launch
D

Docker Fail2ban

Fail2ban Docker image

Developer Tools
Launch
D

Docker Socket Proxy

Socket proxy for the Docker API

Developer Tools
Launch
S

Selfhosted Gateway

Self-hosted Docker native tunneling to localhost

Developer Tools
Launch
S

Socket Proxy

Secure-by-design and flexible Unix socket proxy

Developer Tools
Launch

Ufw Docker FAQ

What problem does it solve?

Docker can publish a container port in a way that bypasses UFW, so a port you deny in UFW can still be reached from outside.

Does it turn off Docker's iptables?

No. The project says it aims to fix the problem without disabling iptables, which many other fixes do.

Does it work with new Docker networks?

The project says the aim is a solution that does not need a separate rule for each new Docker network.

Is there a way to undo it?

Yes. The README has a section on how to revoke the original modifications.

Is it free?

Yes. It is an open source tool published on GitHub.

Should I test it first?

The README is worth reading in full before applying a firewall change to a production server.

What are the best Ufw Docker alternatives?

Popular alternatives to Ufw Docker include Whalewall, Ufw Docker Automated and Docker Fail2ban. See all Ufw Docker alternatives

Developer Stuff

Badges