• October 31, 2024, 09:39:28 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: DSR1000N - Firewall rules problem  (Read 18175 times)

embraced

  • Level 1 Member
  • *
  • Posts: 8
DSR1000N - Firewall rules problem
« on: September 12, 2016, 05:40:42 PM »

problem with firewall rule

hello brothers, please helpe with this problem

I am setting up my PCs to access the remote desktop (external access), but only the first firewall configuration works, the other settings in the list of rules do not work, I can only access only the first computer to be on the list of rules, for example:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

FIREWALL RULES

LIST RULES ON ROUTER


----------------------------------------------------------------------------------------------------------------------------------------------------------------------

FIRST RULE ON LIST (functional ok)


STATUS: Enabled
FROM ZONE: WAN
TO ZONE: Default
SERVICE: RealVNC (TCP PORTS ALLOW RANGE)
BLOCK / ALLOW: Allow Always
SOURCE HOSTS: Any
LOCAL SERVER: 192.168.0.101
DESTINATION INTERNET: WAN1
RULE PRIORITY 1

Note: vnc software configured to receive access on port 5800
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

SECOND RULE ON LIST  (not functional)


STATUS: Enabled
FROM ZONE: WAN
TO ZONE: Default
SERVICE: RealVNC (TCP PORTS ALLOW RANGE)
BLOCK / ALLOW: Allow Always
SOURCE HOSTS: Any
LOCAL SERVER: 192.168.0.102
DESTINATION INTERNET: WAN1
RULE PRIORITY 2

Note: vnc software configured to receive access on port 5820
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
CUSTOM SERVIÇE (REALVNC)


IMPORTANT:
if I put the second rule settings in the first position it starts to work , it seems that there is something related to the first position in the list , the others do not work


----------------------------------------------------------------------------------------------------------------------------------------------------------------------


Can you help me with this problem?


DSR1000 N
My firmware is 2.11B201C_WW






« Last Edit: September 13, 2016, 06:11:55 AM by embraced »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DSR1000N - Firewall rules problem
« Reply #1 on: September 13, 2016, 07:19:11 AM »

Link>Welcome!

  • What Hardware version is your router? Look at sticker under the router case.
  • What region are you located?
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.

embraced

  • Level 1 Member
  • *
  • Posts: 8
Re: DSR1000N - Firewall rules problem
« Reply #2 on: September 13, 2016, 08:25:13 AM »

Hello Friend! thanks for listening.

follow the informations:
H / W VER: A1
LOCATION : BRAZIL


you need any more information ? FCC ID? IC number ?


Just now I tested a few things on the remote access to my computers , see:

>> When I disable the first firewall rule >> PC 01 [192.168.0.101] [DDNS+:5800]
       the second rule back to work and I can access my PC 2 [192.168.0.102] [DDNS+:5820]

>>If i  reenable the first rule, the second rule stops working again :(

>>It seems that something causes only the first firewall rule to read , I'm confused .
« Last Edit: September 13, 2016, 08:27:32 AM by embraced »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DSR1000N - Firewall rules problem
« Reply #3 on: September 13, 2016, 08:45:40 AM »

Seems like when using a single destination IP address it works, one at a time. Seems like you may need to see if the router can be configured for a range of destination IP addresses for just one rule. 192.198.0.101 thru .103. Can you set a IP address range?
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.

embraced

  • Level 1 Member
  • *
  • Posts: 8
Re: DSR1000N - Firewall rules problem
« Reply #4 on: September 13, 2016, 10:18:07 AM »

Exactly! I also thought about something like this , but I can not determine an internal ip range.

See the image of Rule settings For example:



I can determine only IP External :(

MAYBE For configuration with cable console I can , but I must admit they did not know how to do, do not know the commands .

I will try to reverse the position of Insecure LAN < > SECURE and see if with the reverse configuration I get something , a moment .... soon return with the information

« Last Edit: September 13, 2016, 10:24:01 AM by embraced »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DSR1000N - Firewall rules problem
« Reply #5 on: September 13, 2016, 10:21:51 AM »

Might want to phone contact your regional D-Link support office and ask for help and information on this...Keep us posted.
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.

embraced

  • Level 1 Member
  • *
  • Posts: 8
Re: DSR1000N - Firewall rules problem
« Reply #6 on: September 13, 2016, 10:24:12 AM »


New tests:
[/b]
Inverse mode doesn't works :(

Ip range option exist on this metod but dnt work

See example:

Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: DSR1000N - Firewall rules problem
« Reply #7 on: September 13, 2016, 03:31:15 PM »

Hi,

I don't know if my interpretation of your configuration is right (because I'm no expert for DSR1000N routers), but I assume, due to NAT, you want to do port forwarding for the realvnc port from your public IP address to your internal PCs.

By principle this can only be successful for one PC, because the combination [public IP address, rvnc port] can only be mapped once to one PC.

If you want to reach all PCs, for any PC you have to define an additional port for your public IP, say rvnc+10, rvnc+20, ... and configure an additional port forwarding rule such like:

[public IP address, rvnc] -- port forwarding --> [priv. IP address PC1, rvnc]
[public IP address, rvnc+10] -- port forwarding --> [priv. IP address PC2, rvnc]
[public IP address, rvnc+20] -- port forwarding --> [priv. IP address PC3, rvnc]
...

In contrast your configuration to me looks like:
[public IP address, rvnc] -- port forwarding --> [priv. IP address PC1, rvnc]
[public IP address, rvnc] -- port forwarding --> [priv. IP address PC2, rvnc+10]
[public IP address, rvnc] -- port forwarding --> [priv. IP address PC3, rvnc+20]
...

and this will only work for the first PC.

PT
« Last Edit: September 13, 2016, 03:33:59 PM by PacketTracer »
Logged

embraced

  • Level 1 Member
  • *
  • Posts: 8
Re: DSR1000N - Firewall rules problem
« Reply #8 on: September 13, 2016, 07:12:09 PM »

hello friend !, yes I understand your information, and I am grateful for that !
but for each PC to be accessed is informed a specific address, each with a different port .

Example ( RealVNC Viewer) :


PC 01 >> myddns.com:5800
or
PC 02 >> myddns.com:5820
or
PC 03 >> myddns.com:5830


but only the first address above accepts the connection , the others do not work ...

I correctly understand your message?
sorry for my English  ;D
Logged

embraced

  • Level 1 Member
  • *
  • Posts: 8
Re: DSR1000N - Firewall rules problem
« Reply #9 on: September 13, 2016, 07:37:48 PM »


friends! I may have achieved success! I'm doing new tests , a real test tomorrow I will do in an external network , soon inform you the setting that was causing this problem.

Surely this router is confusing to define the custom service and the way it forwards the ports released.

tomorrow I bring news!
Logged

embraced

  • Level 1 Member
  • *
  • Posts: 8
Re: DSR1000N - Firewall rules problem
« Reply #10 on: September 14, 2016, 10:25:27 AM »

Hello , I think I found the problem with the rules.

When creating the custom service I was telling the firewall to unlock the ports in a range 5800-5900 .

Understanding that the firewall would allow access for that ports range. For each rule was applied the same type of released range ( RealVNC - 5800-5900 - see the 1st posted images).

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

THE PROBLEM:
But it seems that the firewall works differently , strange because I had to create one custom service for each rule in the list, not strange ? For me yes, very strange . Probably the firewall forwards all range of ports for a single IP ( 192.168.0.101 the first rule ) for example.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

PROBLEM SOLVED:

See then how was the list of rules :



See the custom service of first rule only:


What you guys think about the way the firewall works with customized services created?
« Last Edit: September 14, 2016, 10:35:07 AM by embraced »
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: DSR1000N - Firewall rules problem
« Reply #11 on: September 14, 2016, 11:26:50 AM »

Hi again,

so you just implemented what I suggested when I wrote:

[public IP address, rvnc] -- port forwarding --> [priv. IP address PC1, rvnc]
[public IP address, rvnc+10] -- port forwarding --> [priv. IP address PC2, rvnc]
[public IP address, rvnc+20] -- port forwarding --> [priv. IP address PC3, rvnc]
...

... where rvnc+10, rvnc+20 and so on have to  be defined as customized services.

Nothing unusual for me - that's the way I would expect to solve the problem.

PT
Logged

embraced

  • Level 1 Member
  • *
  • Posts: 8
Re: DSR1000N - Firewall rules problem
« Reply #12 on: September 14, 2016, 11:43:51 AM »

Yes! my friend , I thank you for your tips ! God bless you , thank you!

I hope this solution helps other users DS 1000 N

Thanks!
« Last Edit: September 14, 2016, 12:00:41 PM by embraced »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DSR1000N - Firewall rules problem (RESOLVED)
« Reply #13 on: September 14, 2016, 11:46:32 AM »

Glad you got it working. Thank you for all the information and details.

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.