D-Link Forums

D-Link Wireless Routers for Home and Small Business => DIR-882 => Topic started by: Mibix on February 24, 2019, 03:23:26 PM

Title: Issues with Nginx and port forwarding
Post by: Mibix on February 24, 2019, 03:23:26 PM
I just installed my new DIR-882 router today, assigned static IPs and forwarded ports 80 and 443 to use with my reverse proxy nginx.  That is all I had to do on my old Asus RT-AC66U B1 router.  I can not understand why this isn't working.  I even installed the DD-WRT firmware and I got the same results but switched back to 1.11 D-Link firmware after it didn't work.  If I plug in my old router again it works right away.  Also, on a side note, is there a way to make it so I can filter more than 24 URLs?  I'm really thinking about just staying with my old router and returning this if I can't get it working but I like the added speed and range this gives.
Title: Re: Issues with Nginx and port forwarding
Post by: FurryNutz on February 24, 2019, 03:29:22 PM
Link>Welcome! (http://forums.dlink.com/index.php?topic=49573.0)



Internet Service Provider and Modem Configurations

What is this Nginx device?
Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 24, 2019, 03:34:43 PM
I am in the US, in michigan.  I have gigabit cable internet through WOW! and I own my own modem its a ARRIS SURFboard SB6190.

Nginx is a reverse proxy it is not a device and it runs on a server on my network and basically acts as a webserver.
Title: Re: Issues with Nginx and port forwarding
Post by: FurryNutz on February 24, 2019, 03:37:25 PM
Ok, this probably need loop back support. Something D-Link routers generally don't support anymore.

Be aware about your ISP modem:
http://forums.dlink.com/index.php?topic=65993.0 (http://forums.dlink.com/index.php?topic=65993.0)

Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 24, 2019, 03:46:17 PM
I don't think this has anything to do with my modem?  When I use my Asus router it works just fine.
Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 24, 2019, 05:33:29 PM
Ok, this probably need loop back support. Something D-Link routers generally don't support anymore.

Be aware about your ISP modem:
http://forums.dlink.com/index.php?topic=65993.0 (http://forums.dlink.com/index.php?topic=65993.0)

It looks like there is an option to enable NAT loopback in the DD-WRT firmware but I can't get it to upload anymore.  When I go to the emergency recovery screen I upload the firmware and it just goes to This page canít be displayed fairly quickly I've tried like 5 times now is there some sort of trick?  Before I got it to upload through the main GUI not even in emergency but that fails now too.
Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 24, 2019, 08:00:26 PM
OK, I got it working.  Turns out when the new router was plugged in it was getting a different IP address than my other one and my domain's DNS was redirecting it to the wrong place :D  I am now using DD-WRT on the DIR-882 and Nginx is working.  Are there any advantages of staying on the D-link firmware?  I notice Smart Connect is gone but that is about it.  I block a lot of URLs and would need more than 24.
Title: Re: Issues with Nginx and port forwarding
Post by: FurryNutz on February 25, 2019, 07:45:13 AM
Ah, glad that was a simple fix.  ;)

Once D-Link completes 160Mhz certification, they will update stock FW. You will have to check to see if Stock FW works for your Ngnix needs or not.

Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 26, 2019, 03:55:16 PM
Ah, glad that was a simple fix.  ;)

Once D-Link completes 160Mhz certification, they will update stock FW. You will have to check to see if Stock FW works for your Ngnix needs or not.

Is that why I'm not getting 1733mbps?  My laptop has an Intel 9260 in it and I cant seem to get anything more than 866.7Mbps which is the same as my old Asus RT-AC66U B1. :(

BTW I have a bunch of domains input various ways in my Website Filter and it doesn't seem to be doing anything I can still access myharmony.com and any site with the word playstation in it:
(https://i.imgur.com/lCVB5Sx.png)
Title: Re: Issues with Nginx and port forwarding
Post by: FurryNutz on February 26, 2019, 04:38:03 PM
This router supports the following:
(800 Mbps on 2.4GHz + 1,733 Mbps on 5GHz)
Does your adapter support the same on 5Ghz?
I don't think 160Mhz is needed for 1733Mb connection rate.
Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 26, 2019, 04:55:58 PM
This router supports the following:
(800 Mbps on 2.4GHz + 1,733 Mbps on 5GHz)
Does your adapter support the same on 5Ghz?
I don't think 160Mhz is needed for 1733Mb connection rate.
Yeah it supports it https://www.amazon.com/gp/product/B079QH5KW1/ref=oh_aui_search_asin_title?ie=UTF8&psc=1
And you do need 160mhz to get 1733 :( https://www.intel.com/content/www/us/en/support/articles/000030670/network-and-i-o/wireless-networking.html

Do you have any idea when the new firmware that supports it comes out?  Also any idea about my website filtering?
Title: Re: Issues with Nginx and port forwarding
Post by: GreenBay42 on February 26, 2019, 05:32:02 PM
The web filtering option only blocks HTTP. Most sites now use HTTPS so it does not get blocked  ::)

DD-WRT has an option for 80+80 but not sure if it even works. I am not sure when or if this router will get the DFS certification. I will ask again...

Decent article explaining speeds/bandwidth --> https://www.duckware.com/tech/wifi-in-the-us.html (https://www.duckware.com/tech/wifi-in-the-us.html)

Rarely do any users get full speed other than being in a clean lab with zero interference or in a vacuum.
Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 26, 2019, 06:01:47 PM
The web filtering option only blocks HTTP. Most sites now use HTTPS so it does not get blocked  ::)

DD-WRT has an option for 80+80 but not sure if it even works. I am not sure when or if this router will get the DFS certification. I will ask again...

Decent article explaining speeds/bandwidth --> https://www.duckware.com/tech/wifi-in-the-us.html (https://www.duckware.com/tech/wifi-in-the-us.html)

Rarely do any users get full speed other than being in a clean lab with zero interference or in a vacuum.
I did get it working on DD-WRT and I used the 10-10 version instead of this newer version I found and it is stable so far.  I am getting over a gigabit on my couch with my router in the other room :o gotta see about filtering on dd-wrt now...
Title: Re: Issues with Nginx and port forwarding
Post by: GreenBay42 on February 26, 2019, 08:28:45 PM
I did get it working on DD-WRT and I used the 10-10 version instead of this newer version I found and it is stable so far.  I am getting over a gigabit on my couch with my router in the other room :o gotta see about filtering on dd-wrt now...

Nice. Glad it is working. Wish the D-Link firmware went back to offering more options and better filtering. Let us know how the web filtering works.
Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on February 26, 2019, 09:05:31 PM
Nice. Glad it is working. Wish the D-Link firmware went back to offering more options and better filtering. Let us know how the web filtering works.

I ended up setting up OpenDNS with DNS-O-Matic in DD-WRT and then blocking them through OpenDNS only easy way to block https sites.
Title: Re: Issues with Nginx and port forwarding
Post by: Mibix on March 02, 2019, 06:50:18 AM
160mhz wide isnt stable at all I sent mine back and bought the nighthawk. D-link shouldnt advertise 1.73gbs if their hardware or firmware can't run it