diff --git a/roles/xmpp_server/files/ferm_xmpp.conf b/roles/xmpp_server/files/ferm_xmpp.conf index 2804a84a246632355ad12ab66c75ed19723e8f40..f1b2e8fb0f9d425e5d0f1c88e6d46928af22aaa3 100644 --- a/roles/xmpp_server/files/ferm_xmpp.conf +++ b/roles/xmpp_server/files/ferm_xmpp.conf @@ -1,11 +1,13 @@ -table filter { - chain INPUT { - # XMPP client connections. - proto tcp dport 5222 ACCEPT; - proto tcp dport 5223 ACCEPT; - # File proxying. - proto tcp dport 5000 ACCEPT; - # XMPP server connections. - proto tcp dport 5269 ACCEPT; +domain (ip ip6) { + table filter { + chain INPUT { + # XMPP client connections. + proto tcp dport 5222 ACCEPT; + proto tcp dport 5223 ACCEPT; + # File proxying. + proto tcp dport 5000 ACCEPT; + # XMPP server connections. + proto tcp dport 5269 ACCEPT; + } } -} \ No newline at end of file +}