Reg NAT


#1

hi frineds,

Can you please guide me the ports to be opened in NAT router for sip clinets to work (to be registered with asterisk server)? exspecially x-lite softphone…


#2

if you have a softphone and a router that doesnt suck, you can just set nat=yes in asterisk, and set the softphone to use STUN. It will do the rest

Otherwise forward UDP pord 5060 and whatever it has allocated as the RTP range (this can be changed but is usually 10000-20000 UDP). The softphone will need to know its external IP, there is an option for this or you can use STUN. STUN is easier.