♿: make hypervisor accessible online
Some checks failed
ansible-lint / lint-everything (push) Failing after 1m11s
Some checks failed
ansible-lint / lint-everything (push) Failing after 1m11s
This commit is contained in:
@@ -260,6 +260,17 @@ config rule
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{% set first_hypervisor = hostvars[groups['hypervisors'][0]] %}
|
||||
config redirect
|
||||
option name 'Allow-INPUT-ProxmoxVE-Admin'
|
||||
option src 'wan'
|
||||
option src_dport '8006'
|
||||
list proto 'tcp'
|
||||
option dest 'dmz'
|
||||
option dest_ip '{{ first_hypervisor['ansible_default_ipv4']['address'] }}'
|
||||
option dest_port '8006'
|
||||
option target 'DNAT'
|
||||
|
||||
# Allow XMPP traffic
|
||||
config rule
|
||||
option name 'Allow-OUTPUT-XMPP-s2s'
|
||||
|
Reference in New Issue
Block a user