D-Link Forums
The Graveyard - Products No Longer Supported => D-Link NetDefend Firewalls => Topic started by: PiWi 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.
-
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.
-
Thanks danilovav
I'll test this tommorrov
be continued
-
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.
-
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.