Linked Router OpenVPN Client

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


Joined: 15 Apr 2015
Posts: 14

PostPosted: Tue May 08, 2018 12:48    Post subject: Linked Router OpenVPN Client Reply with quote
Folks,

I have 2 routers with ddwrt.
Primary is 192.168.2.1 and is in client mode with WAN 192.168.0.2. This has DHCP enabled and acts as a gateway operating well.

Secondary router is linked with WAN assigned to switch, running in router mode with 192.168.2.2.

I want to use policy based routing for a few IP's to route them through the VPN. Not fussed which router I put the VPN on, but I think it needs to go on the secondary?

VPN is connected. When I disable firewall protection I can see when doing a tracert that traffic is going through the VPN. But web pages dont work, so something not right.

What else ya need to know?

Thanks in advance
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Tue May 08, 2018 16:46    Post subject: Reply with quote
Be sure to disable Shortcut Forwarding Engine on the setup page there is a bug which prevents http traffic when using PBR and SFE
_________________
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
dicko72
DD-WRT Novice


Joined: 15 Apr 2015
Posts: 14

PostPosted: Tue May 08, 2018 21:34    Post subject: Reply with quote
OK thanks for replies.I do have PBR enabled for 1 host. This host cannot access web pages but public DNS resolution works and tracert on windows shows it traversing the vpn and arrives at destination ok (8.8.8.8).

I have disabled SFE on both routers.

When I remove it from the PBR everything works as expected.

Primary router is in client mode connected to a 4G modem with wifi.

Correction: testing was done on windows. I will do the tests on the router through a shell when I get home. Sorry misread!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Wed May 09, 2018 8:33    Post subject: Reply with quote
This typically sounds as if you have Shortcut Forwarding Engine enabled.
You can ping and have DNS but no http traffic.
If your provider allows ftp you can check: ftp://ftp.dd-wrt.com/ this is working with SFE on

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


Joined: 15 Apr 2015
Posts: 14

PostPosted: Wed May 09, 2018 9:03    Post subject: Reply with quote
Yeah, so all works from the router too.
DNS and tracert to a public IP.

I also have issues with torrents too though, not just http/https.

I'm using a beta build on my WNDR3700.

Should I try a later build?
dicko72
DD-WRT Novice


Joined: 15 Apr 2015
Posts: 14

PostPosted: Wed May 09, 2018 9:10    Post subject: Reply with quote
OK, tried build 05-07-2018-r35898
Works perfectly! Thanks all.
thomasashwin
DD-WRT Novice


Joined: 14 Aug 2017
Posts: 19

PostPosted: Wed May 30, 2018 5:35    Post subject: Reply with quote
Hello Dicko,
According to my personal experience, it will better for you to take the suggestion from one of the best networking service provider agency. And if you will take my recommendation then Wanos.co is one of the best choices for you. You can contact him.
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