[SOLVED] Route specific LAN ips through wireguard on DD-WRT

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


Joined: 08 Nov 2021
Posts: 15

PostPosted: Thu Nov 11, 2021 14:47    Post subject: [SOLVED] Route specific LAN ips through wireguard on DD-WRT Reply with quote
Hi,

I have a problem, I _only_ want the following IP adresses to go through wireguard:

AllowedIPs = 192.168.1.134/24, 192.168.1.119/24

The tunnel is active, but it doesnt work like it should. My internet goes through WAN as normal on those IPs.

Any suggestions?

When i use 192.168.1.134/32 i cant even connect to the router, it wont give me an IP adress at all.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12877
Location: Netherlands

PostPosted: Thu Nov 11, 2021 14:51    Post subject: Reply with quote
What router? What build?

WireGuard documentation:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327397

Have a look at the client setup 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
raz0r21
DD-WRT Novice


Joined: 08 Nov 2021
Posts: 15

PostPosted: Thu Nov 11, 2021 14:59    Post subject: Reply with quote
Firmware: DD-WRT v3.0-r47608 std (10/28/21)

WRT3200ACM

Can i just put this in the policy based routing box?

192.168.1.134/32
raz0r21
DD-WRT Novice


Joined: 08 Nov 2021
Posts: 15

PostPosted: Thu Nov 11, 2021 15:29    Post subject: Reply with quote
it worked Smile
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12877
Location: Netherlands

PostPosted: Thu Nov 11, 2021 16:46    Post subject: Reply with quote
:thumbsup:
_________________
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