From 86e7a7ddc8d0c382e85b5f9b2f469fa48be54b1e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 8 Apr 2021 11:32:28 +0200 Subject: fix configr for glt-r3 gateway --- inventory/host_vars/glt-gw-r3.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'inventory/host_vars') diff --git a/inventory/host_vars/glt-gw-r3.yml b/inventory/host_vars/glt-gw-r3.yml index 4bcc27f8..95cef9d8 100644 --- a/inventory/host_vars/glt-gw-r3.yml +++ b/inventory/host_vars/glt-gw-r3.yml @@ -67,6 +67,7 @@ openwrt_mixin: iptables -A INPUT -i "$LAN_IF" -p tcp --dport 53 -d "$LAN_IP" -s "$LAN_IP/$LAN_MASK" -j ACCEPT iptables -A INPUT -i "$LAN_IF" -p icmp -d "$LAN_IP" -s "$LAN_IP/$LAN_MASK" -j ACCEPT + iptables -A INPUT -i "$LAN_IF" -p tcp --dport {{ ansible_port }} -d "$LAN_IP" -s "$LAN_IP/$LAN_MASK" -j ACCEPT iptables -A INPUT -i "$LAN_IF" -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i "$LAN_IF" -o "$WAN_IF" -s "$LAN_IP/$LAN_MASK" -j ACCEPT -- cgit v1.2.3