You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
507 B
10 lines
507 B
5 years ago
|
---
|
||
|
|
||
|
- name: Handle jitsi videobridge ports
|
||
|
iptables_raw:
|
||
|
name: jitsi_videobridge_ports
|
||
|
state: "{{ (jitsi_videobridge_src_ip | length > 0) | ternary('present','absent') }}"
|
||
|
rules: "-A INPUT -m state --state NEW -p udp --dport {{ jitsi_videobridge_rtp_port }} -s {{ jitsi_videobridge_src_ip | join(',') }} -j ACCEPT\n
|
||
|
-A INPUT -m state --state NEW -p tcp --dport {{ jitsi_videobridge_harvester_port }} -s {{ jitsi_videobridge_src_ip | join(',') }} -j ACCEPT"
|
||
|
tags: firewall,jitsi
|