Skip to content

Commit

Permalink
remove docker dependency on packetfence-iptables
Browse files Browse the repository at this point in the history
  • Loading branch information
julsemaan committed May 2, 2022
1 parent 2efc71d commit 4d8654a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
16 changes: 0 additions & 16 deletions conf/iptables.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,6 @@
# Accept Ping (easier troubleshooting)
-A INPUT --protocol icmp --icmp-type echo-request --jump ACCEPT

-N DOCKER
-N DOCKER-ISOLATION-STAGE-1
-N DOCKER-ISOLATION-STAGE-2
-N DOCKER-USER
-A FORWARD -j DOCKER-USER
-A FORWARD -j DOCKER-ISOLATION-STAGE-1
-A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -o docker0 -j DOCKER
-A FORWARD -i docker0 ! -o docker0 -j ACCEPT
-A FORWARD -i docker0 -o docker0 -j ACCEPT
-A DOCKER-ISOLATION-STAGE-1 -i docker0 ! -o docker0 -j DOCKER-ISOLATION-STAGE-2
-A DOCKER-ISOLATION-STAGE-1 -j RETURN
-A DOCKER-ISOLATION-STAGE-2 -o docker0 -j DROP
-A DOCKER-ISOLATION-STAGE-2 -j RETURN
-A DOCKER-USER -j RETURN

:input-management-if - [0:0]

%%input_management_include%%
Expand Down
1 change: 0 additions & 1 deletion packetfence.docker-drop-in.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Documentation=https://docs.docker.com
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket containerd.service
PartOf=packetfence-iptables.service

[Service]
Type=notify
Expand Down

0 comments on commit 4d8654a

Please sign in to comment.