# 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.**

![](/files/PHaAk8TRFgELMwhmKNo7)

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:

![](/files/j9V0LJLqg8TFOaO8TdxE)

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.

![](/files/OGXW70zp6lywzIwaw4SI)

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:

![](/files/Uc92gSqrysu0By2NTt2n)

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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://teamhelp.sipgate.co.uk/use-sipgate/troubleshooting-problem-solving/how-do-i-set-up-port-forwarding-on-a-bt-homehub.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
