Skip to content

martinpichlo/firewall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

firewall

Simple iptables firewall for docker host based on Alpine Linux

Quick Start

command:

docker run -d --cap-add=NET_ADMIN --network=host --name firewall zeaq/docker-firewall

docker-compose

docker-compose.yml:

firewall:
    image: zeaq/docker-firewall
    restart: always
    cap_add:
        - NET_ADMIN
    network_mode: host

Build

commands:

docker build docker-firewall -t firewall
docker run -d --cap-add=NET_ADMIN --network=host --name firewall firewall

Releases

No releases published

Packages

No packages published