• May 16, 2025, 06:46:06 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: Need Advice: Best way to setup ports.  (Read 6144 times)

DNR

  • Level 1 Member
  • *
  • Posts: 6
Need Advice: Best way to setup ports.
« on: August 11, 2010, 05:55:48 AM »

In my old router(DLink DI-614+), I have two virtual servers setup

port 80 -> forward to port 80 on pc1
port 90 -> forward to port 80 on pc1

worked great, but if I try the same setup in my DIR-655, I get an error since I have two rules ending in the same port/pc.   Is there a more proper way to set this up?
« Last Edit: August 11, 2010, 06:22:02 AM by DNR »
Logged

davevt31

  • Level 9 Member
  • ****
  • Posts: 1601
Re: Need Advice: Best way to setup ports.
« Reply #1 on: August 11, 2010, 06:51:47 AM »

Not sure as I don't use any Virtual Servers ,but have you tried one rule with "80,90" in the Public Port section?
Logged

DNR

  • Level 1 Member
  • *
  • Posts: 6
Re: Need Advice: Best way to setup ports.
« Reply #2 on: August 11, 2010, 07:07:17 AM »

it appears it only allows 1 port per definition, since is says [Port] unlike port forwarding which says [Ports].
Logged

EddieZ

  • Level 10 Member
  • *****
  • Posts: 2494
Re: Need Advice: Best way to setup ports.
« Reply #3 on: August 11, 2010, 11:33:28 AM »

Simple. Just configure one of the servers to run on port 90, the other on port 80. Why set them both to 80 internally, while you already use different outside ports...
Logged
DIR-655 H/W: A2 FW: 1.33

DNR

  • Level 1 Member
  • *
  • Posts: 6
Re: Need Advice: Best way to setup ports.
« Reply #4 on: August 11, 2010, 11:43:20 AM »

Ok apparently i am missing something, there is only one server....  So if you hit the router via port 80 or 90 it goes to the same server but on 80.

port 80 -> forward to port 80 on pc1
port 90 -> forward to port 80 on pc1
Logged

EddieZ

  • Level 10 Member
  • *****
  • Posts: 2494
Re: Need Advice: Best way to setup ports.
« Reply #5 on: August 11, 2010, 01:29:54 PM »

Why would you have a setup like this  ???
Logged
DIR-655 H/W: A2 FW: 1.33

DNR

  • Level 1 Member
  • *
  • Posts: 6
Re: Need Advice: Best way to setup ports.
« Reply #6 on: August 11, 2010, 02:02:23 PM »

 ::) Because where I work(a hosting company) restricts ports >:( .  There is no way for me to rdp into my server using 3389 because it is blocked...  So i use one of the other ports they allow to rdp into my server, but I would also like to be able to hit the normal rdp port when I am rdping from elsewhere...

so from work rdp to mysite:1234 -> router magically forwards to myserver:3389
When i rdp to mysite(no port windows default is 3389)  -> router magically forwards to myserver:3389

My old router let me do this without issue, the new router won't....
Logged

EddieZ

  • Level 10 Member
  • *****
  • Posts: 2494
Re: Need Advice: Best way to setup ports.
« Reply #7 on: August 11, 2010, 02:39:31 PM »

Try combining virtual server and portforwarding. Perhaps they allow overlap, both mechanisms are virtually the same.
Logged
DIR-655 H/W: A2 FW: 1.33

ryan200

  • Level 2 Member
  • **
  • Posts: 49
Re: Need Advice: Best way to setup ports.
« Reply #8 on: August 12, 2010, 09:06:39 PM »

why do you forward port 80 to port 80? what happens if you don't?
« Last Edit: August 12, 2010, 09:10:01 PM by ryan200 »
Logged