VPN - Selective routing for Netflix, Pandora and Hulu

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3, 4
Author Message
judas_s
DD-WRT Novice


Joined: 19 Oct 2016
Posts: 1

PostPosted: Mon Dec 26, 2016 20:41    Post subject: Reply with quote
Hi all, thank you so much for the information on this (now a bit old) thread.

So, as many of you are, I'm trying to selectively go into the VPN when visiting certain IP ranges, in my case Pandora is what I'm after.

I have tried to play with the DD_WRT config, but can't make the
Code:
route 208.85.40.0 255.255.248.0 vpn_gateway

command work; i have tried bothe using and removing the

Code:
route-nopull
route XXX.XXX.XXX.XXX 255.255.255.255 net_gateway

commands, to no avail. (yes, replacing the XXX.XXX.XXX.XXX with the VPN's server address I'm using in the Server IP / Name field.

Also, as to VPN provider's (StrongVPN) instructions, this are the other commands that live in the "Additional Config" window:

Code:
hand-window 30
reneg-sec 0
persist-key
explicit-exit-notify 2
;


Can someone give me some thoughts on what i might be doing wrong? VPN **IS** working, as I have some Devices configured in Policy Based Routing and those work perfectly.

Thank you!!
Sponsor
vern
DD-WRT Novice


Joined: 18 Feb 2016
Posts: 5

PostPosted: Fri Dec 30, 2016 16:49    Post subject: Reply with quote
Many thanks to the OP for this thread which worked perfectly for me after hours trying and failing miserably to get policy based routing to work.

FWIW I had no idea what the "IP address of the configured VPN server you're establishing the tunnel to" was as IME most VPN only supply a web address. For my fellow networking noobs go into cmd and ping the provided server name which will look something like 'ping usa-miami-1.vpnprovider.com' and it will return the IP you need.
jakeisonline
DD-WRT Novice


Joined: 29 Mar 2017
Posts: 3

PostPosted: Wed Mar 29, 2017 4:04    Post subject: Reply with quote
In using OPs code (with my VPN server IP not the XXX etc) it seems to expose me entirely.

When I visit IP lookups or https://www.ipvanish.com/check-my-privacy.php it shows my exact location, obviously not what I want.

Removing the code and rebooting gives me back the IP results I expect... but that means Netflix and Hulu don't work.
SurprisedItWorks
DD-WRT Guru


Joined: 04 Aug 2018
Posts: 1444
Location: Appalachian mountains, USA

PostPosted: Thu Dec 13, 2018 22:41    Post subject: Reply with quote
The four US NordVPN servers that have worked for me with Netflix for months all stopped working with Netflix this week. At present I know of no US NordVPN servers that work with Netflix.
_________________
2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
t81
DD-WRT User


Joined: 04 Nov 2015
Posts: 59

PostPosted: Fri Dec 27, 2019 10:04    Post subject: Reply with quote
This is interesting: https://www.ovpn.com/en/blog/circumvent-blocks-by-streaming-services/
_________________
Netgear R7800 - Firmware: DD-WRT v3.0-r41811 std (12/28/19)
TP-Link AC1750 as Repeater- Firmware: DD-WRT v3.0 r44187 std (08/13/2020)
OpenVPN PBR + Privoxy = IP EXPOSURE: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=322517&start=0
t81
DD-WRT User


Joined: 04 Nov 2015
Posts: 59

PostPosted: Mon Dec 30, 2019 18:51    Post subject: Reply with quote
Since PBR is getting more popular these days due to streaming services issues, beware that there is a huge security hole in case Privoxy is used along with PBR.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=322517&start=0
isaac6300
DD-WRT Novice


Joined: 27 Feb 2020
Posts: 2

PostPosted: Thu Feb 27, 2020 18:40    Post subject: no-pull not working Reply with quote
im trying to only send one specific ip/dns through vpn. when i add no-pull command it still sends all traffic through vpn. i tested adding a specific ip with net_gateway and that does work. how else can i tell it to send all ips through wan except the ones i want on vpn
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2029

PostPosted: Thu Feb 27, 2020 18:45    Post subject: Re: no-pull not working Reply with quote
isaac6300 wrote:
im trying to only send one specific ip/dns through vpn. when i add no-pull command it still sends all traffic through vpn. i tested adding a specific ip with net_gateway and that does work. how else can i tell it to send all ips through wan except the ones i want on vpn

OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
isaac6300
DD-WRT Novice


Joined: 27 Feb 2020
Posts: 2

PostPosted: Thu Feb 27, 2020 19:03    Post subject: no-pull not working Reply with quote
did not help.
my additional config are these:
route-nopull
route 204.11.35.98 255.255.255.0 vpn_gateway
key-direction 1
persist-key

i have also tried with subnet 255.255.255.255

everything still being routed through vpn
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Feb 28, 2020 10:14    Post subject: Reply with quote
route-nopull is obsolete and will be deprecated, however it should still work and should prevent your clients from using the VPN.

Reboot the router and check if you are still using the VPN (ipleak.net and dnsleaktest.com).

If so see the troubleshooting section in the guide.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Goto page Previous  1, 2, 3, 4 Display posts from previous:    Page 4 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum