• February 24, 2025, 04:24:12 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: DFL-210: Opening Port for IP CAM  (Read 8534 times)

PiWi

  • Level 1 Member
  • *
  • Posts: 2
DFL-210: Opening Port for IP CAM
« on: August 14, 2010, 10:56:55 AM »

Hi, I want to configure my DFL 210 to open port (7000) for my ip webcam and I want to access it both in internal  and external (I have an public IP)
I have a Router/Modem (DLINK DSL-2640U) connecting to my firewall (DLINK DFL-210)

DLINK DFL-210:
lan_ip: 172.16.0.250
lannet: 172.16.0.0/24
dmz_ip: 172.17.0.254
dmznet: 172.17.100.0/24
wan_gw: 10.0.0.254
wan_ip: 10.0.0.10
wannet: 11.0.0.0/24
Webcam: 172.16.0.101

DLINK DSL-2640U:
LAN IPv4 Address: 10.0.0.254


Please help.

Thanks.
Logged

danilovav

  • Level 4 Member
  • ****
  • Posts: 424
  • Alexandr Danilov
Re: DFL-210: Opening Port for IP CAM
« Reply #1 on: August 14, 2010, 11:44:21 PM »

Basically, you need...

1) Objects > Services
Make new TCP service tcp-7000 with destination 7000 (keep source by default)

2) Rules > IP rules
Make rules
SAT wan/all-nets core/wan_ip tcp-7000 (SAT: new source = 172.16.0.101)
Allow wan/all-nets core/wan_ip tcp-7000

3) Make port mapping on your DSL-2640U (or better change its mode to bridge and assign to DFL public IP address)

4) Set DFL as default gateway for cam.

But, it's basics. Some webcams use other ports and/or assynchronous mode. In this case, your task is impossible.
Logged
BR, Alexandr Danilov

PiWi

  • Level 1 Member
  • *
  • Posts: 2
Re: DFL-210: Opening Port for IP CAM
« Reply #2 on: August 15, 2010, 08:20:45 AM »

Thanks danilovav
I'll test this tommorrov
be continued
Logged

Bob_H

  • Level 1 Member
  • *
  • Posts: 1
Re: DFL-210: Opening Port for IP CAM
« Reply #3 on: September 11, 2010, 08:30:32 PM »

One more thing.  If you set up a new rule folder for Port_Mapping and put the two rules in it.  You must move the new rules up before the default lan_to_wan rule set.
Logged

danilovav

  • Level 4 Member
  • ****
  • Posts: 424
  • Alexandr Danilov
Re: DFL-210: Opening Port for IP CAM
« Reply #4 on: September 11, 2010, 09:36:00 PM »

Not necessary because NAT rules handle only LAN->WAN packets, but port mapping rules handle WAN->CORE packets.
But generally, it's recommended for simple IP rules flow.
Logged
BR, Alexandr Danilov