Page 1 of 1

Inbound connections through gateway without DMZ

Posted: Sat Mar 09, 2019 1:42 pm
by dsalch
Odd Question, but I am a bit baffled by the instructions at open-wrt. perhaps someone here can shed some light?

Network config (all class C subnets):
subnet A:
Internet gateway 192.168.254.254
---
device a 192.168.254.1
device a static route 192.168.3.0 gw 192.168.254.65
device a DFGW 192.168.254.254
---
gargoyle router WAN 192.168.254.65
gargoyle router DFGW 192.168.254.254

subnet B:
gargoyle router LAN 192.168.3.1
---
PC 192.168.3.26
PC DFGW 192.168.3.1
PC is connected to ethernet ports on gargoyle router, not WIFI


Ok, the goal is to get device A to connect to PC.
The PC can initiate a connection to device A, but device A can not initiate a connection to PC, in fact a traceroute from device A to PC dies at gargoyle router.

IF I set a DMZ within gargoyle for 192.168.3.26, all works perfectly. Without a DMZ set, I am totally unable to create a route from device A to PC.

There are some notes at open-wrt about a similar situation needing special arrangements within open-wrt. Is there any way to configure this from gargloyle without setting a DMZ?

Re: Inbound connections through gateway without DMZ

Posted: Sat Mar 09, 2019 1:45 pm
by dsalch
I think this is the situation I created and need to resolve:

https://openwrt.org/docs/guide-user/net ... utedclient

Re: Inbound connections through gateway without DMZ

Posted: Sat Mar 09, 2019 5:59 pm
by Lantis
The section of that page “Using Routing” tells you how to solve it.
What were you struggling with?

Re: Inbound connections through gateway without DMZ

Posted: Sat Mar 09, 2019 10:04 pm
by dsalch
I was confused with the different approaches on that page. Which one applies?

And also wondering if there is a way to set this within gargoyle without going command line.

Re: Inbound connections through gateway without DMZ

Posted: Sat Mar 09, 2019 11:00 pm
by Lantis
Any of them. I’d try the simplest one first.

No, it cannot he done from GUI