Port Forwarding on EE Hub Manager
If you're setting up your Raspberry Pi with PiVPN for the first time and you have the bad luck of owning an EE Hub for your internet connectivity, you might get stuck when setting up your Port Forwarding.
This post is both a reminder for me of how I've done it, and for you to get going at speed.
What you need to set up Port Forwarding
- Your EE Hub's IP address (to access its settings)
- Your Raspberry Pi's IP address (to target the port forwarding)
- The port (and port protocol) specified in your PiVPN setup (default: UDP 51820)
Step 1: get EE Hub IP
- Open a command prompt (Windows: Command Prompt, Mac: Terminal)
- If Windows type
ipconfig
. if Mac typeifconfig
and press Enter - Find the IP under Default Gateway if in Windows, or under inet if on Mac. It will be something like 192.168.1.254
Step 2: access the EE Hub
- Type the IP of the EE Hub in your browser's URL bar and press Enter
- Once the interface loads, click on My Network
- Find the Raspberry Pi by its hostname and click on it
- Take note of the IP, scroll down to the section called Port Forwarding
- Click on the button that says Change Settings.
- You'll be prompted for the Admin password; you can find this on a label attached to your router, or in the card that contains the Wi-Fi credentials.
Step 3: set up the Port Forwarding
Once the page loads, compile the fields:
- Give a name to your forwarding rule (e.g.: PiVPN forwarding)
- Select your Raspberry Pi from the dropdown menu, then put the number of the port you wanna forward in ALL the port fields (both Internal and External)
- Select UDP as protocol.
- Click the Plus icon to add the rule, then click Save.
At this point, the forwarding should be complete and when you connect to your VPN, you should get connectivity right away.