summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-04-08 11:32:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-04-08 11:32:28 +0200
commit86e7a7ddc8d0c382e85b5f9b2f469fa48be54b1e (patch)
tree204a4ef75c0f5b24696041d35aec745259df218a /inventory/host_vars
parentch-equinox-(ws|t450s) install texlive extra packages (diff)
fix configr for glt-r3 gateway
Diffstat (limited to 'inventory/host_vars')
-rw-r--r--inventory/host_vars/glt-gw-r3.yml1
1 files changed, 1 insertions, 0 deletions
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