summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-router.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-01-30 00:31:34 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-01-30 00:31:34 +0100
commit88417f1df22f5b658abb532fa270241c5a53a0e0 (patch)
treecdeaefc94b619bf7804599d784c202573bba5346 /inventory/host_vars/ele-router.yml
parentfix installation for ele-telesto (diff)
added ele-ups router
Diffstat (limited to 'inventory/host_vars/ele-router.yml')
-rw-r--r--inventory/host_vars/ele-router.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/inventory/host_vars/ele-router.yml b/inventory/host_vars/ele-router.yml
index a2b66d85..8e025469 100644
--- a/inventory/host_vars/ele-router.yml
+++ b/inventory/host_vars/ele-router.yml
@@ -196,7 +196,7 @@ openwrt_mixin:
### todo: limit the destination address?
iptables -A INPUT -i "$WAN_IF" -p icmp -j ACCEPT
- iptables -A INPUT -i "$WAN_IF" -p tcp --dport 22000 -j ACCEPT
+ iptables -A INPUT -i "$WAN_IF" -p tcp --dport {{ ansible_port }} -j ACCEPT
iptables -A INPUT -i "$WAN_IF" -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
for zone in "{{ network_internal_zone_names | join('" "') }}"; do
@@ -264,7 +264,7 @@ openwrt_uci:
options:
PasswordAuth: 'off'
RootPasswordAuth: 'off'
- Port: '22000'
+ Port: '{{ ansible_port }}'
dhcp: "{{ openwrt_dhcp_base + openwrt_dhcp_internal + openwrt_dhcp_external }}"
network: "{{ openwrt_network_base + openwrt_network_internal + openwrt_network_external }}"