Menu Close

Allow Netflix to bypass VPN

Update 06/30/2020: This guide has been updated to reflect the changes introduced in x3mRouting v 2.0.

Update 07/17/2020: It seems that Netflix has made some changes recently. I’ve updated this post to reflect the latest working setup.

I currently have a few of the devices on my network on an always-on VPN connection – see

This has worked great except for one issue I ran into – Netflix would not play over the VPN on these devices. After some research, I found a solution that allows all Netflix traffic to bypass the VPN so that it works on all devices using x3mRouting. This quick post will explain how.


Note that this does not let you watch Netflix in another region. This will only allow you to access Netflix in your local region on your VPN connected devices.


Things you will need:

  • An ASUS router that has USB ports, flashed with Asuswrt-Merlin version 384.15 or higher. This version includes amtm (Asuswrt-Merlin Terminal Menu) built into the firmware.
  • SSH enabled on your router. This can be found in Administration >System.
  • Enable JFFS custom scripts and configs must be enabled. This can be found in Administration >System.
  • A USB thumb drive, 8GB or higher should be fine
  1. Insert your USB thumb drive into your ASUS router and wait for the device to be recognized by the router.
  2. Next, establish an SSH connection to your router and enter in amtm to launch the amtm menu.
    • Note that if the menu does not launch, you are using a version or Asuswrt-Merlin that is below 384.15. Please update to the latest version or follow the setup guide on the amtm page for older firmware versions.
  1. Follow the on-screen instructions to go through the first-time setup of amtm.
  2. Once it is installed, type in fd to format your USb thumb drive as ext4. Note that you will need to reboot the router after this step.
  3. After the USB thumb drive has been formatted, type in i then press enter to see a list of available packages.
  4. At the list of options, select ep to install Entware packages. Follow the on screen instructions to install the software to the USB thumb drive – this should be straight-forward.
  5. Once Entware is installed, go back to the list of options and type in 6 to install x3mRouting.
  6. Durring the x3MRouting setup, select the third option – Install OpenVPN Event & Script.
  7. After x3MRouting has been installed, exit the x3mMenu option, then exit the amtm menu as well. You should now be back at the prompt.
  8. Next you will launch a set of commands that will download the list of Netflix IP’s (see and will route this traffic over an interface on your router. Each interface is designated by a number on your router as follows:

Since we want to route all Netflix traffic to the WAN, we will be selecting 0.

  1. Now you will need to enter the following commands in your SSH window:

  1. Once the commands have been executed, launch Netflix on your VPN connected device. You should be able to watch anything just as if there was no VPN.

These changes will persist when the router has been rebooted, so you should not need to enter them again.  

If this is still not working for you, try also adding a routing rule for Amazon Global region, as Netflix is hosted on Amazon servers.


Posted in ASUS, Asuswrt-Merlin, VPN


  1. Garret Cohen

    Can you please explain how to “establish an SSH connection to your router”? At first I thought this was somewhere in the Router GUI, but after looking at the setup guide I realized you need to use Notepad++ or another “favorite terminal”

    I am having trouble figuring out how to establish a SSH conection using Notepad++ as I don’t have any Merlin experience and just started learning note pad for my job writing SQL queries. I know I am so close. I am sure it’s stupid simple, but just don’t know how to get that connection established so I can open the terminal.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.