From 076383549eaec43724cf5ce0e945726052d4ac34 Mon Sep 17 00:00:00 2001 From: Edwin Lyon <53972157+practical-engelbart@users.noreply.github.com> Date: Thu, 1 Oct 2020 02:07:06 -0700 Subject: [PATCH] Update rules4.conf --- iptables/rules4.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iptables/rules4.conf b/iptables/rules4.conf index d953cbc..fcf2923 100644 --- a/iptables/rules4.conf +++ b/iptables/rules4.conf @@ -16,6 +16,8 @@ -A OUTPUT -o lo -j ACCEPT -A OUTPUT -o ens3 -j ACCEPT -A DOCKER-USER -i ens3 -j FILTERS +-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT +-A FORWARD -i ens3 -d 172.22.1.0/24 -j FILTETRS -A FILTERS -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A FILTERS -m conntrack --ctstate NEW -p tcp --dport 25 -j ACCEPT -A FILTERS -m conntrack --ctstate NEW -p tcp --dport 80 -j ACCEPT