summaryrefslogtreecommitdiff
path: root/inventory/group_vars/dolmetsch-ctl/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/group_vars/dolmetsch-ctl/main.yml')
-rw-r--r--inventory/group_vars/dolmetsch-ctl/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/inventory/group_vars/dolmetsch-ctl/main.yml b/inventory/group_vars/dolmetsch-ctl/main.yml
index 97b58bb1..a86517c0 100644
--- a/inventory/group_vars/dolmetsch-ctl/main.yml
+++ b/inventory/group_vars/dolmetsch-ctl/main.yml
@@ -74,7 +74,7 @@ openwrt_mixin:
iptables -A INPUT -i lo -d 127.0.0.0/8 -s 127.0.0.0/8 -j ACCEPT
iptables -A INPUT -i "$MGMT_IF" -d "$MGMT_IPADDR" -s "$MGMT_IPADDR/$MGMT_NETMASK" -j ACCEPT
- iptables -A INPUT -i "$MIXER_IF" -p tcp --dport 22000 -d "$MIXER_IPADDR" -j REJECT --reject-with tcp-reset
+ iptables -A INPUT -i "$MIXER_IF" -p tcp --dport {{ ansible_port }} -d "$MIXER_IPADDR" -j REJECT --reject-with tcp-reset
iptables -A INPUT -i "$MIXER_IF" -p icmp -d "$MIXER_IPADDR" -s "$MIXER_IPADDR/$MIXER_NETMASK" -j ACCEPT
iptables -A INPUT -i "$MIXER_IF" -p udp -d "$MIXER_IPADDR" -s "$MIXER_IPADDR/$MIXER_NETMASK" -j ACCEPT
iptables -A INPUT -i "$MIXER_IF" -p tcp -d "$MIXER_IPADDR" -s "$MIXER_IPADDR/$MIXER_NETMASK" -j ACCEPT
@@ -116,7 +116,7 @@ openwrt_uci:
options:
PasswordAuth: 'off'
RootPasswordAuth: 'off'
- Port: '22000'
+ Port: '{{ ansible_port }}'
network:
- name: globals 'globals'