# How do I set up port forwarding on a BT HomeHub?

#### Port forwarding with a BT HomeHub 3, 4 or 5

If you've had problems with your phone registering online, with calls dropping or with audio loss, port forwarding the Local Ports used by your VoIP phone may provide a solution.

**Before setting up port forwarding please take the following steps**

**1. Set your VoIP phone or device to use non-default Local or Listen UDP ports.**\
If you've more than one VoIP phone behind the same router each should use different Local Ports. Click these links for help changing your phone's local port settings: Local Port selection.\
[Changing your phone's Local SIP & RTP Ports](http://teamhelp.sipgate.co.uk/hc/en-gb/articles/208203475)\
Below we'll assume you've used the Local/Listen SIP Port 46160 and Local RTP/Audio Ports 46104-46120. If you've used different values, please replace these below with your chosen values.\
Using non-standard ports should avoid SIP ALG related issues.

**2. Type** [**http://192.168.1.254**](http://192.168.1.254/) **in the browser of a computer connected to your Home Hub.**\
In your Home Hub, please open **Advanced Settings** ➔ **Home Network** ➔ **Devices**\
In the list of connected devices click on your VoIP phone. Click **Yes** next to the **Always use this IP address**. For brief testing of port-forwarding as a solution this step and step 3 can be skipped, but should be completed later.

**3. Set your phone to use the Reserved IP address above as its Static IP address.**\
Your phone's manual will detail the steps to take to assign it a Static IP Address.

#### Setting Up Port Forwarding

Type the address [http://192.168.1.254](http://192.168.1.254/) into a web browser on a computer connected to the Home Hub.\
In your Home Hub's settings, click on **Advanced Settings.** Click **Continue to Advanced Settings** and click on **Port Forwarding.** Click **Supported Applications** then **Add new Game or Application**. Tick the **No** button next to **Copy an Existing Game or Application**: Use an identifiable name like 'SIPGATE' with the following values in the **Game or Application Definition.**

![](https://1449431311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FftdJXe39x3wvuZjiDFLY%2Fuploads%2Fgit-blob-3ad5db53ec8035f3937cb656c4e70f0cc1da87ec%2Fhhub_portfwdapp.png?alt=media)

Add a second Definition using the values:

**Protocol**: UDP\
**Port Range**: 46104\
**Translate To**: 46120

Click **Add** and then **Apply**. Your settings should look like this:

![](https://1449431311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FftdJXe39x3wvuZjiDFLY%2Fuploads%2Fgit-blob-567f968ea752426432d87be0f9719ece08c0fab4%2Fhhub_portfwdapp2.png?alt=media)

Click on **Port Forwarding** ➔ **Configuration**. From the **Game or Application** list select SIPGATE. In the **Device** list select **User Defined IP Address**. Enter the IP Address of your phone.

![](https://1449431311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FftdJXe39x3wvuZjiDFLY%2Fuploads%2Fgit-blob-3f8b10a7420a8bea1eada27ef9c71aa65e5fa82c%2Fhhub_portfwdIPaddr1.png?alt=media)

Click **Add** and then **Apply.** You've completed configuring port forwarding rules for your phone. Please take the following steps and then reboot your HomeHub and VoIP phone. Disable UPnP if enabled:

![](https://1449431311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FftdJXe39x3wvuZjiDFLY%2Fuploads%2Fgit-blob-cdbbad295db18438ae62065ec7f8bb51678ce740%2Fupnp.jpg?alt=media)

Power your VoIP phone and router off and on. After your router and phone power back on check that your changes have been retained. Test with and without the [STUN Server](http://basichelp.sipgate.co.uk/hc/en-gb/articles/204153002) enabled in your phone's settings.

#### Further Help Guides & Information

[BT Customer Help](https://www.bt.com/help/broadband/learn-about-broadband/how-do-i-set-up-port-forwarding-on-my-bt-hub-) - port forwarding guides.\
Port forwarding guides for many routers including BT routers are available at: [www.portforward.com](http://portforward.com/english/routers/port_forwarding/BT/Home_Hub_5/X-Lite.htm)
