fix iptables rule
This commit is contained in:
parent
c5c60c674b
commit
bfc490b82f
@ -23,7 +23,7 @@
|
|||||||
iptables_raw:
|
iptables_raw:
|
||||||
name: allow_unifi_nginx_proxy
|
name: allow_unifi_nginx_proxy
|
||||||
state: present
|
state: present
|
||||||
rules: '-A OUTPUT -p tcp -d {{ unifi_server_ip }} -m --dport {{ unifi_server_port }} -j ACCEPT'
|
rules: '-A OUTPUT -m state --state NEW -p tcp -d {{ unifi_server_ip }} --dport {{ unifi_server_port }} -j ACCEPT'
|
||||||
when: unifi_nginx_iptables_enabled
|
when: unifi_nginx_iptables_enabled
|
||||||
delegate_to: "{{ unifi_nginx_server }}"
|
delegate_to: "{{ unifi_nginx_server }}"
|
||||||
become: True
|
become: True
|
||||||
|
Loading…
Reference in New Issue
Block a user