• February 22, 2025, 03:25:48 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.

Author Topic: Does the DIR-835 Router have NAT loopback?  (Read 11033 times)

usalabs

  • Level 1 Member
  • *
  • Posts: 23
Does the DIR-835 Router have NAT loopback?
« on: August 26, 2016, 07:21:45 AM »

I recently purchased the dual band router from ebay, but can't find anywhere for details on if it supports NAT loopback, the manual says nothing, and nowhere else has anything.

I used to use a Netgear WGR614 v9 wireless G router, this one did support NAT loopback, but recently the wifi section of the router was slowly degrading and sometimes, even when about 5 feet away from the router I would get 1 bar on the laptop, so I changed routers.

The reason I wanted NAT loopback is because I run a virtual worlds development server at home and has been working great with the old router, and using my domain name to point to my WAN IP address with the necessary ports open, but I can't use my domain name with this new router even with the server on the DMZ.

If this router doesn't support NAT loopback, is there a way to enable telnet access so that I can write a few iptable rules?
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Does the DIR-835 Router have NAT loopback?
« Reply #1 on: August 26, 2016, 07:36:04 AM »

Link>Welcome Back!

  • Link>What Firmware version is currently loaded? Found on the routers web page under status.
  • What region are you located?

List of NAT Loopback Supporting Routers
LoopBack Work Around: http://forums.dlink.com/index.php?topic=16358.0

Also check out the use of Virtual Server on the 835. Not sure about accessing the router via telnet if that's an enabled feature or not. Maybe disabled as a security issue. ::)

What happened with this post? http://forums.dlink.com/index.php?topic=64462.msg266059#msg266059
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.

usalabs

  • Level 1 Member
  • *
  • Posts: 23
Re: Does the DIR-835 Router have NAT loopback?
« Reply #2 on: August 26, 2016, 09:44:23 AM »

Hardware version A1, Firmware 1.04, Region USA

Cannot use virtual server as it only allows single ports, I have to use a range of ports from 9000-9900 TCP and UDP.

The virtual worlds development server uses regions that utilize various ports in the range of 9000-9900 depending on which region is being enabled, and the client viewer reads the info from the server to determine what port is being accessed, but not using http, but there is a test page that shows OOPS! in large letters for testing the loopback, by entering http://domainname:port, and if the loopback is successful, the OOPS!!! page is shown, meaning that if I can access the test page from inside the LAN using a WAN domain name, then others with the client viewer can access the server too, but if I can't, I don't know if anyone else can without literally calling everyone in the white pages and asking them if they have internet to download the client and test the connection.
« Last Edit: August 26, 2016, 09:51:29 AM by usalabs »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Does the DIR-835 Router have NAT loopback?
« Reply #3 on: August 26, 2016, 09:56:35 AM »

Let us know if any of the other suggestions may help. If it doesn't, you could use your old router as the main host router since it worked for loopback, then disable the wifi radio on that router and install the 835 as a wired AP:
Turning a router into an AP.

Try the other suggestions first and see...
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.

usalabs

  • Level 1 Member
  • *
  • Posts: 23
Re: Does the DIR-835 Router have NAT loopback?
« Reply #4 on: August 26, 2016, 10:14:13 AM »

Let us know if any of the other suggestions may help. If it doesn't, you could use your old router as the main host router since it worked for loopback, then disable the wifi radio on that router and install the 835 as a wired AP:
Turning a router into an AP.

Try the other suggestions first and see...

I didn't think of using the 835 as an AP,   I think that would be better.

The link for the work-a-round isn't a work-a-round, but using the virtual server, which as I stated earlier, I can't use the virtual server as I need to use a range of ports, and the virtual server only allows 1 port per server, so it looks like the wired AP would be the way to go,,,,I'll try it and get back here to let y'all know if it works.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Does the DIR-835 Router have NAT loopback?
« Reply #5 on: August 26, 2016, 10:16:39 AM »

 ;)
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.

usalabs

  • Level 1 Member
  • *
  • Posts: 23
Re: Does the DIR-835 Router have NAT loopback?
« Reply #6 on: October 29, 2016, 12:01:23 PM »

Sorry for the late reply.

OK, using the 835 as an AP didn't work, as I already have a 625 as an AP, and I wanted to use the 835 as the main router, because it has removable antenna, and using the right antenna socket I can connect a WiFi booster, anyway, I found I can use iptables rules but first I had to install the openwrt firmware for the 835 (openwrt-ar71xx-generic-dir-835-a1-squashfs-factory) which allows me to write my own custom iptables rules such as these:-

iptables -t nat -I PREROUTING --dst <host name> -p tcp --dport 9000:9900 -j DNAT --to-destination <server LAN IP>
iptables -t nat -I PREROUTING --dst <host name> -p udp --dport 9000:9900 -j DNAT --to-destination <server LAN IP>
iptables -t nat -A POSTROUTING --dst <server LAN IP> -p tcp --dport 9000:9900 -j SNAT --to-source <gateway>
iptables -t nat -A POSTROUTING --dst <server LAN IP> -p udp --dport 9000:9900 -j SNAT --to-source <gateway>

This fools the router into thinking it has loopback.
« Last Edit: October 29, 2016, 12:03:27 PM by usalabs »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Does the DIR-835 Router have NAT loopback?
« Reply #7 on: October 29, 2016, 12:48:07 PM »

Glad you got it working. Actually OpenWRT FW isn't fooling the router. The issue is that Stock FW doesn't support or any loopback features, where OpenWRT does.

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