Difference between revisions of "UCoIP DNS/firewall configuration"

From wiki.IPBRICK.COM
Jump to: navigation, search
(DNS configuration)
(Firewall/Router configuration)
Line 53: Line 53:
  
 
<pre>
 
<pre>
80 TCP
+
HTTP  - 80 TCP
443 TCP
+
HTTPS  - 443 TCP
5060 UDP/TCP
+
SIP    - 5060 UDP/TCP
5061 TCP
+
SIPS  - 5061 TCP
40000:45000 UDP
+
RTP    - 40000:45000 UDP
50000:55000 UDP
+
RTP    - 50000:55000 UDP
60000:65000 UDP
+
RTP    - 60000:65000 UDP
5222 TCP
+
XMPP  - 5222 TCP
5223 TCP
+
XMPPS  - 5223 TCP
8888 TCP
+
WebRTC - 8888 TCP
 
</pre>
 
</pre>

Revision as of 12:28, 20 May 2015

DNS configuration

In order to get the full UCoIP concept working from the Internet, it's necessary to configure some DNS records at the public DNS zone.

In that example lets suppose that:

DNS domain: domain.com
IPBrick FQDN: voip.domain.com
Public IP associated to IPBrick: 88.88.88.88
User UCoIP page to create: jsmith.domain.com 

So in this case we need to configure the following DNS records:

A records:

voip      A     88.88.88.88
webrtc    A     88.88.88.88

CNAME records:

im                 CNAME   voip
jwchat             CNAME   voip
webphone           CNAME   voip
groupware	   CNAME   voip
cafe               CNAME   voip
jsmith             CNAME   voip

SRV records for VoIP (SIP):

_sips._tcp.domain.com.     IN     SRV   1   0   5061   voip.domain.com.
_sip._tcp.domain.com.      IN     SRV   1   0   5060   voip.domain.com.
_sip._udp.domain.com.      IN     SRV   1   0   5060   voip.domain.com.

SRV records for chat (Jabber/XMPP):

_jabber._tcp.domain.com. 86400      IN SRV 5 0 5269 voip.domain.com.
_xmpp-server._tcp.domain.com. 86400 IN SRV 5 0 5269 voip.domain.com.
_xmpp-client._tcp.domain.com. 86400 IN SRV 5 0 5222 voip.domain.com.

Firewall/Router configuration

If the eth1 IPBrick IP is not a public one (ie: 88.88.88.88), so IPBrick is behind a NAT at Router/Firewall, its necessary to forward the following traffic to eth1:

HTTP   - 80 TCP
HTTPS  - 443 TCP
SIP    - 5060 UDP/TCP
SIPS   - 5061 TCP
RTP    - 40000:45000 UDP
RTP    - 50000:55000 UDP
RTP    - 60000:65000 UDP
XMPP   - 5222 TCP
XMPPS  - 5223 TCP
WebRTC - 8888 TCP