• February 24, 2025, 08:07:07 AM
  • 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: NAT  (Read 4799 times)

SVLKRS

  • Level 1 Member
  • *
  • Posts: 3
NAT
« on: February 13, 2012, 01:28:12 PM »

My boss has assigned a task for me and I cannot get this to work.  He says it's possible but I've never done it:

We have two identical devices on the same IP address.  We would like to place one behind the D-Link DIR-615 and NAT an address so we can access this device by using another address.  We need to access this device via telnet.

Our plan was to install the device on the LAN side of the router and access it from the WAN side, so essentially the device is in it's own LAN.

How can I access this device from the WAN side of the router?

Thanks,

Kurt
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: NAT
« Reply #1 on: February 13, 2012, 01:33:43 PM »

It's possible. I haven't done it as of yet since I haven't had a need to.

However lets see if I can help you with some information:
What Hardware version is your router? Look at sticker under router.
What Firmware version is currently loaded? Found on routers web page under status.

What ISP Service do you have? Cable or DSL?
What ISP Modem do you have? Stand Alone or built in router?
What ISP Modem make and model do you have?
If this modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems.
To tell if the modem is bridged or not, look at the routers web page, Status/Device Info/Wan Section, if there is a 192.168.0.# address in the WAN IP address field, then the modem is not bridged.

Some things to try:
I think you'll need to set up virtual server as a place to help you get from the WAN side to the LAN side. Is the telnet application you use have a specific port number recommended?

Turn off ALL QoS or Disable Traffic Shaping (DIR only) GameFuel (DGL only and if ON.) options. Advanced/QoS or Gamefuel.
Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual.
Turn on DNS Relay under Setup/Networking.
Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking
Ensure devices are set to auto obtain an IP address.
Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall.

Enable uPnP and Multi-cast Streaming under Advanced/Networking.

Turn off all anti virus and firewall programs on PC while testing. 3rd party firewalls are not generally needed when using routers as they are effective on blocking malicious inbound traffic.
Turn off all devices accept for one wired PC while testing.
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.

SVLKRS

  • Level 1 Member
  • *
  • Posts: 3
Re: NAT
« Reply #2 on: February 14, 2012, 06:30:10 AM »

What Hardware version is your router? Look at sticker under router. E1
What Firmware version is currently loaded? Found on routers web page under status. 5.01

What ISP Service do you have? Cable or DSL? Cable...however, I am trying actually trying to trick our network into thinking there is a WAN and LAN, rather than actually go out to the internet; so this bit may not matter.  I configured the WAN port on my PCs local subnet and configured the router's LAN on a different subnet which is the same as the system I am attempting to connect to.
What ISP Modem do you have? Stand Alone or built in router?
What ISP Modem make and model do you have?
If this modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems.
To tell if the modem is bridged or not, look at the routers web page, Status/Device Info/Wan Section, if there is a 192.168.0.# address in the WAN IP address field, then the modem is not bridged.

Some things to try:
I think you'll need to set up virtual server as a place to help you get from the WAN side to the LAN side. Is the telnet application you use have a specific port number recommended? I agree, but I'm not entirely sure I'm doing it right.
Turn off ALL QoS or Disable Traffic Shaping (DIR only) GameFuel (DGL only and if ON.) options. Advanced/QoS or Gamefuel. Done now
Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual. Done
Turn on DNS Relay under Setup/Networking. Done
Setup DHCP reserved IP addresses for all devices ON the router. Setup/NetworkingDone
Ensure devices are set to auto obtain an IP address.The system I am trying to connect to is a Unix system that has to remain on the static IP it is currently on.
Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall.Done now
Enable uPnP and Multi-cast Streaming under Advanced/Networking.Done now

Turn off all anti virus and firewall programs on PC while testing. 3rd party firewalls are not generally needed when using routers as they are effective on blocking malicious inbound traffic.done on the pc I am using to connect.  Unix system has none
Turn off all devices accept for one wired PC while testing. done

Thanks for your help.  Hopefully we can get this working.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: NAT
« Reply #3 on: February 14, 2012, 07:02:23 AM »

Not sure if your configuration of the ISP service and this WAN and LAN is effecting anything or not. This introduces possible configuration issues in how these routers and your setup will work.

Its recommended to set up the PCs with reserved IP addresses on the router. You can assign any PC an IP address so if your Unix box needs a particular address, just assign it and you'll be good.

I would contact some telnet support for your particular platform as they will have more detailed information regarding telnet and if you need to use any Virtual Server or Port Forwarding options on the router. Are you trying to telnet from the WAN side to a PC on the LAN side of the router? If so then I presume it's possible some ports are going to be needed.
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.

SVLKRS

  • Level 1 Member
  • *
  • Posts: 3
Re: NAT
« Reply #4 on: February 14, 2012, 07:13:08 AM »

Yes you are right that I am trying to telnet from the WAN side to the unix system on the LAN side.  Let me ask this, so I know that I am testing properly:

When I telnet into this Unix system through the router, should I telnet to the WAN address of the router which should translate via Virtual Server rule to the ip of the unix system?

Or am I not even doing this right in the first place?

Thanks again.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: NAT
« Reply #5 on: February 14, 2012, 07:19:02 AM »

I believe so, as you need to go to the WAN address followed by say as port number so it could look like this:
##.##.###.###:#### So the IP address your trying to get to is the WAN IP address listed on the router, then the port number that should be routed by the router to the Unix box if its set up correctly.

Something to that effect I think.
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.