This post will show you how to configure pfSense and what you need to allow hosts on your LAN to connect to Netflix and Amazon Prime Video. Without being blocked by their proxy detection and use your ISP’s gateway for those connections instead.
How It works
We’ll use a pfSense package called pfBlockerNG to compile, update, and maintain lists of network ranges and save them as firewall aliases. We’ll use the alias to create firewall rules for those ranges that will bypass our VPN gateway, and use the ISP’s instead.
Getting Started
First you need to install pfBlockerNG on pfSense, if you don’t have it installed already.
- Go to the System drop-down menu then Package Manager in pfsense
- Click the Available Packages tab
- Search for pfBlockerNG and click the Install button
- Wait for the installation to complete
pfBlockerNG Configuration
- Go to Firewall drop-down menu, then pfBlockerNG
- Check the Enable checkbox in the General tab
Create The Alias
- Click the IP tab in the pfBlockerNG main page, then IPv4, then select Add
- Name the alias “Netflix_VPN_Bypass” or whatever name you wish. If the name has spaces use under score instead.
- Under IPv4 Source Definitions click Add and create the lists as follows:
- Under Settings change Action to Alias Match
- Change Update Frequency to whatever rate you’d like
- Go back to the top of pfBlocker page and click Update
- Select Reload radio button
- then click Run button
- Wait for reload to complete
Note: If you do not reload the pfBlocker, you may not see the alias apear as an option in the following steps.
Create firewall rule
- Go to Firewall drop-down at the top of the page click Rules
- Click the LAN tab and click the Add button with the upward-facing arrow towards the bottom of the page
- Change Protocol to Any
- Set Source in whichever way you’d prefer. For example: set to Single host/alias and the IP of your smart TV or device. I recommend only adding as needed to not defeat the purpose of the VPN.
- Change Destination to Single host/alias and select the pfB_Netflix_VPN_Bypass alias we created
- Under Extra Options for Description enter Netflix_VPN_Bypass
- Press Save
- You’ll be redirected to the Firewall LAN main page again.
- Click Apply Changes at the top for changes to take affect.
Lets Test And Make Sure It Works
You should be able to connect to Netflix and Amazon Prime Video with no annoying Proxy Detected or VPN errors.