VPN and DMZ

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
crewze
DD-WRT Novice


Joined: 22 Jun 2019
Posts: 1

PostPosted: Sat Jun 22, 2019 15:02    Post subject: VPN and DMZ Reply with quote
I have a DD-WRT attached to an ISP cable router. I have a server connected to the DD-WRT router that I would like to access from the internet. I have a DMZ set up on both routers and I am able to access the server fine un til I activate the VPN. AT that point the VPN stops woking and the access to the server no longer works. See attached diagram for network config.

I am not sure this is suppose to work. Maybe e someone could tell me if it should work and if not suggest a way to get access to the server with the VPN running.


[/img]



VPN Network Diagram.pdf
 Description:

Download
 Filename:  VPN Network Diagram.pdf
 Filesize:  22.99 KB
 Downloaded:  169 Time(s)


VPN Network Diagram.pdf
 Description:

Download
 Filename:  VPN Network Diagram.pdf
 Filesize:  22.99 KB
 Downloaded:  106 Time(s)

Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Jun 22, 2019 15:58    Post subject: Reply with quote
It is not entirely clear yet to me.

You show us two routers, is the top one the ISP router?
It seems so as it has the Public IP address

But the server seems connected to this router and that is not the DDWRT router?

The bottom one seems connected to its WAN port so you are double NATting?
Is this the DDWRT router with an OVPN client to ExpressVPN?

In general when you have an OVPN client running on your router and you want to reach something on or behind that router then you have to use Policy based Routing.

If you don not use Policy Based Routing your default gateway is your VPN conncetion and your firewal will not allow incoming connections on your WAN which are going out via your VPN.

When using Policy based routing the default is restored to your WAN.

_________________
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 -> General Questions 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 can attach files in this forum
You can download files in this forum