[SOLVED] Multiple tunnel from same Wireguard VPN provider

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


Joined: 07 Jun 2021
Posts: 12

PostPosted: Wed Jun 16, 2021 8:35    Post subject: [SOLVED] Multiple tunnel from same Wireguard VPN provider Reply with quote
I'm trying to get 2 tunnels working from the same VPN provider with PBR. Connection is established with both but fails to work. If only one of them is enabled, it works fine.

I am trying to use PBR to route 192.168.1.192/26 through oet1 and 192.168.1.128/26 through oet2. When I try to open a page, I see the counter increasing but internet doesn't work.

Thanks

P.S images attached, please login to view them


Last edited by Anoopnk on Wed Jun 16, 2021 12:24; edited 1 time in total
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Wed Jun 16, 2021 8:45    Post subject: Reply with quote
Both tunnels have the same IP address that will not work.

For my provider I can get different IP addresses for different servers, research if that is possible for your provider too

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


Joined: 07 Jun 2021
Posts: 12

PostPosted: Wed Jun 16, 2021 10:21    Post subject: Reply with quote
Where is this IP actually being used? I'm don't understand it much. I thought this IP is assigned for the interface in their servers. So having the same IP in different servers shouldn't matter since interface is used on router's end for routing.

I've raised a support ticket asking my provider if they can provide different IP for wg tunnels.

(Apologies for image size. In the preview, it looked all fine)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Wed Jun 16, 2021 10:33    Post subject: Reply with quote
It is the IP of your WireGuard interface and you end up with two interfaces with the same IP address
_________________
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
Anoopnk
DD-WRT Novice


Joined: 07 Jun 2021
Posts: 12

PostPosted: Wed Jun 16, 2021 11:00    Post subject: Reply with quote
Ah I see. That raises another question, why would my provider decide this IP? Why wouldn't it work if I set different IP?

For now, I'm using openVPN as my second tunnels. It was as easy as setting this up, in case anyone else wanted something similar.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Wed Jun 16, 2021 11:31    Post subject: Reply with quote
From our documentation (links in my signature):

Quote:
Another disadvantage is that it only supports static routing, so if you use WireGuard to connect to a commercial VPN provider they keep track of your IP address

_________________
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
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