D-Link Forums

D-Link VPN Router => DSR-1000AC => Topic started by: geronimo78 on June 09, 2017, 11:29:25 AM

Title: Forwarding Ports
Post by: geronimo78 on June 09, 2017, 11:29:25 AM
Hi,
I have a DSR 1000AC (Hw : A1, Fw 3.10ww) and I try to have 3 different incoming ports to the same port number on 3 different IP addresses.
Example: incoming port 22 to 192.168.0.100 port 22
         incoming port 23 to 192.168.0.101 port 22
         incoming port 24 to 192.168.0.102 port 22

I have created 3 custum services :
   Rules name : Port22
   Type : TCP
   Source Start Port : 1
   Source Finish Port : 65535
   Destination Start Port : 22
   Destination Finish Port : 22

   Rules name : Port23
   Type : TCP
   Source Start Port : 1
   Source Finish Port : 65535
   Destination Start Port : 23
   Destination Finish Port : 23

   Rules name : Port24
   Type : TCP
   Source Start Port : 1
   Source Finish Port : 65535
   Destination Start Port : 24
   Destination Finish Port : 24

After I have created 3 firewall rules :
   From Zone : Insecure (WAN)
   To Zone : Secure (LAN)
   Service : Port22
   Action : Always allow
   Source Host : Any
   Destination : 192.168.0.100
   Translate Port : Off
   External Port : Dedicate Wan

   From Zone : Insecure (WAN)
   To Zone : Secure (LAN)
   Service : Port23
   Action : Always allow
   Source Host : Any
   Destination : 192.168.0.100
   Translate Port : On
   Translate port : 23
   External Port : Dedicate Wan

   From Zone : Insecure (WAN)
   To Zone : Secure (LAN)
   Service : Port24
   Action : Always allow
   Source Host : Any
   Destination : 192.168.0.100
   Translate Port : On
   Translate port : 24
   External Port : Dedicate Wan

I can access to IP_EXT:22 to 192.168.0.100:200
but IP_EXT:23 is closed and I can't acces to 192.168..0.101:22

Any body can help me
Thank
Title: Re: Forwarding Ports
Post by: FurryNutz on June 09, 2017, 01:24:47 PM



Internet Service Provider and Modem Configurations

Is uPnP disabled on the router?
I don't see any firewall configurations for IP address .101.
Is there a Virtual Server feature on the DSR by chance?
Title: Re: Forwarding Ports
Post by: geronimo78 on June 10, 2017, 12:01:41 AM
I am located near Paris in France
I have a cable connection (1Gb/60Mb)
The uPnP service is disable
I make 2 mistakes when I have copied the configuration in the message :
for the second firewall rule, the destination is 192.168.0.101 and for the third is 192.168.0.102
I don't find Virtual server
Title: Re: Forwarding Ports
Post by: FurryNutz on June 10, 2017, 02:34:06 PM
If you disable the .100 rule, do any of the others work?
Title: Re: Forwarding Ports
Post by: geronimo78 on June 11, 2017, 12:29:21 AM
No, when .100 rule is disable, .101 and .102 rules doesn't work
I don't anderstand how the translate port feature works, I don't have found on the web, any documentation about translate port
Title: Re: Forwarding Ports
Post by: FurryNutz on June 11, 2017, 10:24:18 AM
I recommend that you phone contact your regional D-Link support office and ask for help and information regarding this. We find that phone contact has better immediate results over using email.
Let us know how it goes please.
Title: Re: Forwarding Ports
Post by: geronimo78 on June 12, 2017, 09:10:58 AM
After several mails with local support the good way is :
I have created 3 custum services :
   Rules name : Port22
   Type : TCP
   Source Start Port : 1
   Source Finish Port : 65535
   Destination Start Port : 22
   Destination Finish Port : 22

   Rules name : Port23
   Type : TCP
   Source Start Port : 1
   Source Finish Port : 65535
   Destination Start Port : 23
   Destination Finish Port : 23

   Rules name : Port24
   Type : TCP
   Source Start Port : 1
   Source Finish Port : 65535
   Destination Start Port : 24
   Destination Finish Port : 24

Afer I have created 3 firewall rules :
   From Zone : Insecure (WAN)
   To Zone : Secure (LAN)
   Service : Port22
   Action : Always allow
   Source Host : Any
   Destination : 192.168.0.100
   Translate Port : Off
   External Port : Dedicate Wan

   From Zone : Insecure (WAN)
   To Zone : Secure (LAN)
   Service : Port23
   Action : Always allow
   Source Host : Any
   Destination : 192.168.0.101
   Translate Port : On
   Translate port : 22
   External Port : Dedicate Wan

   From Zone : Insecure (WAN)
   To Zone : Secure (LAN)
   Service : Port24
   Action : Always allow
   Source Host : Any
   Destination : 192.168.0.102
   Translate Port : On
   Translate port : 22
   External Port : Dedicate Wan
Title: Re: Forwarding Ports
Post by: FurryNutz on June 12, 2017, 10:26:01 AM
And this configuration works for you?
Title: Re: Forwarding Ports
Post by: geronimo78 on June 15, 2017, 11:57:45 AM
Yes, this configuration works well and thank for your help
Title: Re: Forwarding Ports (RESOLVED)
Post by: FurryNutz on June 15, 2017, 02:12:44 PM
Ok, good to hear. Enjoy.  ;)