• March 28, 2024, 04:38:29 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: [1] 2

Author Topic: Issues with Nginx and port forwarding  (Read 5443 times)

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Issues with Nginx and port forwarding
« 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.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Issues with Nginx and port forwarding
« Reply #1 on: February 24, 2019, 03:29:22 PM »

Link>Welcome!

  • What region are you located?


Internet Service Provider and Modem Configurations
  • What ISP Service do you have? Cable or DSL?
  • What ISP Modem Mfr. and model # do you have?

What is this Nginx device?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #2 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.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Issues with Nginx and port forwarding
« Reply #3 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

Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #4 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.
Logged

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #5 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

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.
Logged

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #6 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.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Issues with Nginx and port forwarding
« Reply #7 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.

Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #8 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:
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Issues with Nginx and port forwarding
« Reply #9 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.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #10 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?
« Last Edit: February 26, 2019, 04:58:25 PM by Mibix »
Logged

GreenBay42

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2752
Re: Issues with Nginx and port forwarding
« Reply #11 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

Rarely do any users get full speed other than being in a clean lab with zero interference or in a vacuum.
Logged

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #12 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

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...
Logged

GreenBay42

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2752
Re: Issues with Nginx and port forwarding
« Reply #13 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.
Logged

Mibix

  • Level 1 Member
  • *
  • Posts: 10
Re: Issues with Nginx and port forwarding
« Reply #14 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.
Logged
Pages: [1] 2