The process for setting up port forwarding on your router varies depending on both the make and model of your specific hardware. The good news is that help is at hand, and by far the best resource for helping you configure your router is the website portforward.com.
Please note, this article assumes that you have already configured your phone for port forwarding - please see this article for more help with this.
On portforward.com, have a look for your router manufacturer, and then the model (if you are unsure of this, the information is usually located on a sticker on your router). Click your router model and an advert usually appears - just click click here to skip this advertisement in the top right corner.
On the next screen, click on the link that says X-Lite (it is usually the first link in the category "X").
You then need to simply follow the instructions, treating your VoIP phone as the 'computer' in the help guide. Therefore you should ensure you provide your phone with a static IP, and use this in the router configuration as detailed in the instructions.
In some cases, you will need to enter this static IP onto your phone as well. This requires navigating back to the web interface of your phone. For the exact steps required to enter the static IP on your phone please consult the user documentation that came with the phone. However, most routers will allow you to just set the IP address for the device on the router, and this will always be used.
When you actually configure the ports in your router, the numbers you need to enter will vary depending on your device. The port numbers provided on the portforward.com help guide will be for the X-Lite softphone. Please refer to the tables below for information on which ports to open - you will need to ensure you enter information for SIP communications, the outbound proxy and for voice data. In each case, you will need to ensure you configure the ports on your router to use UDP (and not TCP).
|Manufacturer||SIP communications||Outbound proxy||Voice data||Type|
|Xten softphones||5060||5082||8000 to 8012||UDP|
|Linksys||5060||5082||49152 to 65534||UDP|
|Sipura||5060||5082||16384 to 16482||UDP|
|Snom||5060||5082||49152 to 65534||UDP|
|Grandstream||5060||5082||16384 to 32768||UDP|
|Siemens||5060||5082||5004 to 5020||UDP|
|Yealink||5060||5082||11780 to 11800||UDP|
|Cisco||5060||5082||16384 to 32768||UDP|
|Gigaset||5060||5082||49004 to 49008
|Trunk protocol||Communications port||Outbound proxy||Voice data||Type|
||Dependent on your PBX||UDP|
|SIP||5060||5082||Dependent on your PBX||UDP|
These are only the default ports used by your phone, and there is actually nothing stopping you from choosing custom port ranges for yourself. If you want to do this you will have to tell your VoIP phone which ports to use. For help doing this please consult the user documentation that came with the phone.
If you've followed the instructions, your phone should now work correctly.
Configuring multiple phones behind a firewall
If you wish to setup multiple phones to work behind your router's firewall, please read this guide.