• March 28, 2024, 01:46:13 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.

Pages: 1 [2] 3

Author Topic: Port Forwarding , Connection refused or firewall blocking ..?  (Read 50711 times)

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #15 on: December 19, 2014, 09:39:31 AM »

u]PC 3rd Party Security Software Configurations[/u]
  • 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.
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.

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #16 on: December 19, 2014, 09:42:46 AM »

Btw. How do you test if it works from the Internet?
[1] From a client really sitting in the Internet?
[2] Or from a client inside your LAN that connects to your external IP 175.101.67.138:9891?

[2] might not work, if your DIR-600L doesn't support "Hairpinning".
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #17 on: December 19, 2014, 09:46:10 AM »

Quote
my netcat rule . defined that it can connect all the public , private , domains

What I mean when saying "scope" is if the "Remote Address" for rule "Netcat" and for both the other "nc.exe" rules is "Any address" or just "local subnet". It should be "Any address" if it shall be reachable from the Internet.

i scope is "Allow connections from any computer" .. for the nc.exe
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #18 on: December 19, 2014, 09:48:26 AM »

Btw. How do you test if it works from the Internet?
[1] From a client really sitting in the Internet?
[2] Or from a client inside your LAN that connects to your external IP 175.101.67.138:9891?

[2] might not work, if your DIR-600L doesn't support "Hairpinning".

i want to test it from a client from the internet .. connect from the web sever to my host
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #19 on: December 19, 2014, 09:51:11 AM »

u]PC 3rd Party Security Software Configurations[/u]
  • 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.

i dont have any 3rd party firewals .. i have only default microsoft firewall 
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #20 on: December 19, 2014, 09:54:38 AM »

Just to be sure it is not the Windows firewall causing the problems, you could switch it temporarily off and test if the nc connection works in this case.
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #21 on: December 19, 2014, 10:01:45 AM »

Just to be sure it is not the Windows firewall causing the problems, you could switch it temporarily off and test if the nc connection works in this case.

still gets the same error "Connection refused"

do i have to make any changes in router ..? other than portforwarding rules
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #22 on: December 19, 2014, 10:06:03 AM »

Instead of PORT FORWARDING you could try "VIRTUAL SERVER"
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #23 on: December 19, 2014, 10:09:22 AM »

Instead of PORT FORWARDING you could try "VIRTUAL SERVER"

For DIR-600L .. i dont think it has a virtual server , http://192.168.0.1/Advanced/Virtual_Server.asp?t=1419012457132 is the url for the port forwarding rules
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #24 on: December 19, 2014, 10:17:53 AM »

Sorry, you are right - VIRTUAL SERVER is not available for DIR-600L.

But, since you do not really have a port range but a single port only, maybe you have to express this by writing

   9891 ~ ____

instead of

   9891 ~ 9891

Just a last stupid idea ...
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #25 on: December 19, 2014, 10:21:47 AM »

Sorry, you are right - VIRTUAL SERVER is not available for DIR-600L.

But, since you do not really have a port range but a single port only, maybe you have to express this by writing

   9891 ~ ____

instead of

   9891 ~ 9891

Just a last stupid idea ...

it automatically fills the other part with the same port enter in the first textbox
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #26 on: December 19, 2014, 10:26:46 AM »

Look at ADVANCED | Firewall & DMZ !

It provides the opportunity to configure firewall rules. I guess you have to specify one for inbound TCP port 9891 (Source WAN 0.0.0.0 - 255.255.255.255, Dest LAN 192.168.0.101 port 9891, proto TCP   --- or perhaps "Dest LAN 175.101.67.138 port 9891, proto TCP" if the rule is effective before NAT is done)
« Last Edit: December 19, 2014, 10:30:48 AM by PacketTracer »
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #27 on: December 19, 2014, 10:32:14 AM »

Look at ADVANCED | Firewall & DMZ !

It provides the opportunity to configure firewall rules. I guess you have to specify one for inbound TCP port 9891 (Source WAN 0.0.0.0 - 255.255.255.255, Dest LAN 192.168.0.101 port 9891, proto TCP   --- or perhaps "Dest LAN 175.101.67.138 port 9891, proto TCP" if the rule is effective before NAT is done)

it says invalid start ip .
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #28 on: December 19, 2014, 10:34:26 AM »

Try 0.0.0.1
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #29 on: December 19, 2014, 10:39:39 AM »

Try 0.0.0.1

still says invalid .. tried 1.1.1.1
Logged
Pages: 1 [2] 3