From version 11.2
edited by jehan monnier
on 2017/08/30 10:24
To version 12.1
edited by Simon Morlat
on 2018/04/22 13:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.jehan
1 +xwiki:XWiki.smorlat
Content
... ... @@ -105,10 +105,10 @@
105 105  # this will dump flexisip's default configuration into the configuration file.
106 106  /opt/belledonne-communications/bin/flexisip --dump-default all > /etc/flexisip/flexisip.conf
107 107  
108 -# on debian:
108 +# on debian 7:
109 109  service flexisip restart
110 110  
111 -# on centos7:
111 +# on centos7, debian8, debian9:
112 112  systemctl start flexisip.service
113 113  
114 114  {{/code}}
... ... @@ -127,3 +127,22 @@
127 127  {{code}}
128 128  flexisip_OPTIONS="--configfile /opt/mycompany/myflexisipconf.conf"
129 129  {{/code}}
130 +
131 +== Firewall configuration - important ==
132 +
133 +On a fresh redhat or centos installation, **the firewall is turned ON by default, with almost all ports forbidden. Flexisip won't be able to operate at all under these conditions**.
134 +
135 +Simply turning off the firewall will allow full operation:
136 +
137 +{{code language="sh"}}
138 +sudo systemctl stop firewalld
139 +{{/code}}
140 +
141 +however your system administrator may not like this approach, and will prefer enabling selective ports. A flexisip server will generally need:
142 +
143 +* tcp ports for sip/sips: these are the ports mentionned in the[[ transports definition of global section>>doc:Flexisip.Modules Reference Guide.global]] of flexisip.conf.
144 +* the 3478 UDP port for the builtin STUN server that helps clients to use ICE for efficient media stream transmissions
145 +* media relay UDP ports, for the media relay service of Flexisip, who is using randomly selected ports in a [[configurable range>>doc:Flexisip.Modules Reference Guide.MediaRelay]].
146 +
147 +
148 +