Web Server Behind DD-WRT Behind FiOS Quantum Router

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


Joined: 28 Feb 2020
Posts: 5

PostPosted: Fri Feb 28, 2020 6:46    Post subject: Web Server Behind DD-WRT Behind FiOS Quantum Router Reply with quote
Hey all, I'm a huge fan of DD-WRT. I just spent the last 48 hours Googling what every setting is for. I have a bunch of questions and would be happy to receive any feedback.

Question #1:
I have a web server that's behind DD-WRT that's behind a FiOS Quantum Router. DD-WRT serves the internet over the WLANs just fine when the routing mode is set to Gateway. However, I could not figure out how to double port forward 443 and 80 with a double NATted set up. I read that I should be using the Router type routing mode. However, when I do that, the computers on the LAN/WLAN lose internet. I read that I'm supposed to use static routes but I'm unsure how to set that up. Can anyone provide guidance?

Note: I am open to installing nginx on the router and proxy the requests but I'm looking for the *right* way to do it.

Here's a diagram and some more information about what I'm trying to do:


Question #2:
I'd like to set up Plex Media Server on a server behind DD-WRT. I would also like to prevent guests on the FiOS Quantum router from accessing most of the DD-WRT network. However, I would like both networks to be able to access the Plex Media Server. How can I accomplish this?

Question #3:
I set up DNSCrypt using the DD-WRT GUI but when I go to this website: https://www.cloudflare.com/ssl/encrypted-sni/ it says that I failed the "Encrypted SNI" test. How can I start passing that test?

Question #4:
I have an Actiontec ONT to Ethernet adapter. I am open to getting rid of the FiOS Quantum router and just using DD-WRT for everything. However, my roomies have extenders because they like to use Ethernet. If I take this route, can the set top boxes and extenders still work?

Question #5:
I would like to share the Printer/Hard Drive attached via USB to the DD-WRT to the whole network (including the FiOS Quantum network). How can I do this?

**Firmware: DD-WRT v3.0r42514 std (02/25/20)**
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12836
Location: Netherlands

PostPosted: Fri Feb 28, 2020 10:07    Post subject: Reply with quote
Just use standard gateway mode for the R9000, and you can double port forward without a problem.

Attached my notes for linking routers detailing static routing, these notes open the firewall for your R9000 you should do that selectively for the things you want (specify the destination 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
hillbillyhacker
DD-WRT Novice


Joined: 28 Feb 2020
Posts: 5

PostPosted: Fri Feb 28, 2020 13:12    Post subject: Reply with quote
Hey egc, I have tried using Gateway mode on the DD-WRT but that did not work. The first hop from the Quantum to DD-WRT worked but not the second.

Also, which link are the notes you are referring to?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12836
Location: Netherlands

PostPosted: Fri Feb 28, 2020 13:24    Post subject: Reply with quote
Only visible when you are logged in

Reset the ddwrt router to defaults set local ip address to another then your ISP router i.e. anything but 192.168.1.x so 10.0.0.1 is fine.

Connect lan from ISP router to WAN of ddwrt router and it should just work.

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


Joined: 28 Feb 2020
Posts: 5

PostPosted: Fri Feb 28, 2020 17:20    Post subject: Reply with quote
Hey egc, I tried what you are saying but I was unable to access the server by going to abc.example.com even with double port forwarding on although all the clients had internet access. What am I missing here? Did you look at the diagram I made?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Fri Feb 28, 2020 17:52    Post subject: Reply with quote
The second image needs to be re-sized to be no more than 800 pixels wide, please.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12836
Location: Netherlands

PostPosted: Fri Feb 28, 2020 18:17    Post subject: Reply with quote
hillbillyhacker wrote:
Hey egc, I tried what you are saying but I was unable to access the server by going to abc.example.com even with double port forwarding on although all the clients had internet access. What am I missing here? Did you look at the diagram I made?


Take note that you are not using ports already in use like 80 or 443.

Use netstat -a to see if ports are open

Try to reach your server from the network of your provider like from laptop A

The server you are trying to reach also has its own firewall is this open?

_________________
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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Fri Feb 28, 2020 18:29    Post subject: Reply with quote
egc wrote:
hillbillyhacker wrote:
Hey egc, I tried what you are saying but I was unable to access the server by going to abc.example.com even with double port forwarding on although all the clients had internet access. What am I missing here? Did you look at the diagram I made?


Take note that you are not using ports already in use like 80 or 443.

Use netstat -a to see if ports are open

Try to reach your server from the network of your provider like from laptop A

The server you are trying to reach also has its own firewall is this open?


Yes, you cannot use standard http or https ports to forward them to an internal server from the outside world, usually. The internal server itself can be running on ports 80 or 443, but your second forward should redirect the forwarded port number (i.e. 8080) to the internal server IP and port (80 or 443), if I remember right. I am wondering if assigning your internal server(s) to DMZ and using static IPs would be easier.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Feb 29, 2020 2:05    Post subject: Reply with quote
Insert "always" You cannot always use standard ports. Some ISPs will block it.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
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