[SOLVED]Exclude certain websites from Open VPN client

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Systom
DD-WRT Novice


Joined: 08 Jun 2022
Posts: 13

PostPosted: Wed Jun 08, 2022 16:05    Post subject: [SOLVED]Exclude certain websites from Open VPN client Reply with quote
I use a Linksys WRT3200ACM with DD-WRT and NordVPN on my Open VPN client.
Is it possible to exclude certain websites from using VPN in order to make them work again?
Thanks, Tom!
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Wed Jun 08, 2022 16:09    Post subject: Reply with quote
Welcome to the forum Smile

I moved your post to the Advanced Networking forum.

The forum for hardware related questions is the Marvell forum for your router.

See the forum guidelines with helpful tips about where and what to post and many more helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

What build are you using?

Latest build is 49113

_________________
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


Last edited by egc on Wed Jun 08, 2022 17:03; edited 1 time in total
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14222
Location: Texas, USA

PostPosted: Wed Jun 08, 2022 16:12    Post subject: Reply with quote
Sticky: OpenVPN guides and documentation

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/06-07-2022-r49113/linksys-wrt3200acm/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Systom
DD-WRT Novice


Joined: 08 Jun 2022
Posts: 13

PostPosted: Wed Jun 08, 2022 17:39    Post subject: Reply with quote
Thank You for your help and moving my post. I'm not a real router expert, I just managed to set up DD-WRT and the OpenVPN client with a manual.
I will try the suggested links and hope to be successful.
BTW my build: Firmware: DD-WRT v3.0-r46259 std (04/03/21)

Best regards, Tom!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Wed Jun 08, 2022 17:48    Post subject: Reply with quote
First of all you have to upgrade to the latest build 49113.
*After* upgrade reset to defaults and put settings in manually !

Most VPN providers (Nord included) have outdated or even wrong setup instructions.

So first check your settings.

The OpenVPN client Setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398
has a paragraph about Nord check with that.

Now on to your question, yes it is possible to exclude some websites (sort of).
See the chapter about Policy Based Routing (PBR), in this case we are talking about destination policy based routing.
How to do that and the limitations are discussed.

_________________
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
Systom
DD-WRT Novice


Joined: 08 Jun 2022
Posts: 13

PostPosted: Fri Jun 10, 2022 9:28    Post subject: Reply with quote
egc wrote:
First of all you have to upgrade to the latest build 49113.
*After* upgrade reset to defaults and put settings in manually !

Most VPN providers (Nord included) have outdated or even wrong setup instructions.

So first check your settings.

The OpenVPN client Setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398
has a paragraph about Nord check with that.

Now on to your question, yes it is possible to exclude some websites (sort of).
See the chapter about Policy Based Routing (PBR), in this case we are talking about destination policy based routing.
How to do that and the limitations are discussed.


Thanks so much for your help.
After upgrading to the latest build I set up Open VPN for Nord as described.
Works a lot smoother now.
Using the "Additional Config" in the OpenVPN I now can open a certain URL without using VPN with this command:
route URL 255.255.255.255 net_gateway #URL
and it opens up again.
Best regards, Tom!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Fri Jun 10, 2022 10:48    Post subject: Reply with quote
Great to hear it is solved Smile
_________________
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
Systom
DD-WRT Novice


Joined: 08 Jun 2022
Posts: 13

PostPosted: Fri Jun 10, 2022 11:00    Post subject: Reply with quote
One more question comes to my mind though:
I know now how to reroute an URL, but how do I reroute an app on my iPhone?
SurprisedItWorks
DD-WRT Guru


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

PostPosted: Fri Jun 10, 2022 15:17    Post subject: Reply with quote
Systom wrote:
One more question comes to my mind though:
I know now how to reroute an URL, but how do I reroute an app on my iPhone?

When dd-wrt sees a packet from your phone, it has no way to know what app it came from and so cannot make routing decisions based on that. So to treat different apps differently, you'd have to use a VPN app in your phone. Not all VPN providers offer this, but some do.

_________________
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.
Display posts from previous:    Page 1 of 1
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