ferm/services/45-prosody
2014-12-19 20:50:19 +01:00

18 lines
640 B
Plaintext

&def_service(xmpp-client, prosody, tcp, 5222);
&def_service(xmpp-server, prosody, tcp, 5269);
&def_service(xmpp-bosh, prosody, tcp, 5280);
&def_service(bosh-ssl, prosody, tcp, 5281);
&def_service(xmpp-proxy65, prosody, tcp, 5000);
&allow_service_for_all(xmpp-client);
&allow_service_for_all(xmpp-server);
&allow_service_for_all(xmpp-proxy65);
&forward_to_service(xmpp-client, tcp, 5222);
&forward_to_service(xmpp-server, tcp, 5269);
&forward_to_service(xmpp-bosh, tcp, 5280);
&forward_to_service(bosh-ssl, tcp, 5281);
&forward_to_service(xmpp-proxy65, tcp, 5000);
&allow_service_for(postgres, prosody);
&allow_service_for(ldap, prosody);