From f5ed9d6966724083e776f8e397d11d8f11ef1d97 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 21 May 2019 03:30:40 -0400 Subject: [PATCH] iptables $gui_port comment --- roles/network/templates/gateway/iiab-gen-iptables | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/network/templates/gateway/iiab-gen-iptables b/roles/network/templates/gateway/iiab-gen-iptables index 4fd46a2b9..cbaefa3aa 100755 --- a/roles/network/templates/gateway/iiab-gen-iptables +++ b/roles/network/templates/gateway/iiab-gen-iptables @@ -126,11 +126,10 @@ if [ "$wan" != "none" ]; then $IPTABLES -A INPUT -p tcp --dport $ssh_port -m state --state NEW -i $wan -j ACCEPT fi - # For now this is implemented using Admin Console variable "gui_port" from: - # https://github.com/iiab/iiab/blob/master/roles/0-init/tasks/main.yml#L87-L95 - # # 2 = ssh + http-or-https (for Admin Console's box.lan/admin too) if [ "$ports_externally_visible" -ge 2 ]; then + # For now this is implemented using Admin Console variable "gui_port" from: + # https://github.com/iiab/iiab/blob/master/roles/0-init/tasks/main.yml#L87-L95 $IPTABLES -A INPUT -p tcp --dport $gui_port -m state --state NEW -i $wan -j ACCEPT fi