D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-890L => Topic started by: Jason303 on November 18, 2015, 11:08:31 AM

Title: Create port forwarding rules where you specify WAN IP addresses
Post by: Jason303 on November 18, 2015, 11:08:31 AM
Can you create port forwarding rules where you specify a WAN IP address (or range of IP addresses)? For example only forward TCP port 81 traffic from WAN addresses XXX.XXX.XXX.XXX through YYY.YYY.YYY.YYY?
Title: Re: Create port forwarding rules where you specify WAN IP addresses
Post by: FurryNutz on November 18, 2015, 11:11:16 AM
Port forwarding allows traffic requests from a specified application to be directed to a specified client inside. LAN side.
Title: Re: Create port forwarding rules where you specify WAN IP addresses
Post by: Hard Harry on November 18, 2015, 11:28:09 AM
Can you create port forwarding rules where you specify a WAN IP address (or range of IP addresses)? For example only forward TCP port 81 traffic from WAN addresses XXX.XXX.XXX.XXX through YYY.YYY.YYY.YYY?

Port forwarding works by forwarding inbound requests for a certain port to a specific IP. Can you explain exactly what your trying to do? Do you have more then 1 WAN IP?
Title: Re: Create port forwarding rules where you specify WAN IP addresses
Post by: Jason303 on November 18, 2015, 12:29:54 PM

I can forward WAN port 80 (HTTP) to a local LAN address which I was successful. What I am trying to do is restrict a WAN IP address range XXX.XXX.XXX.XXX through YYY.YYY.YYY.YYY which would be allowed to use this port forwarding rule. This would allow specific IP adresses access to the TCP port 80 website and block anyone else.

Service Name: HTTP (TCP 80)
LAN Server IP Adress: 192.168.0.2
WAN Users: XXX.XXX.XXX.XXX through YYY.YYY.YYY.YYY
Title: Re: Create port forwarding rules where you specify WAN IP addresses
Post by: Hard Harry on November 18, 2015, 12:41:11 PM

I can forward WAN port 80 (HTTP) to a local LAN address which I was successful. What I am trying to do is restrict a WAN IP address range XXX.XXX.XXX.XXX through YYY.YYY.YYY.YYY which would be allowed to use this port forwarding rule. This would allow specific IP adresses access to the TCP port 80 website and block anyone else.

Service Name: HTTP (TCP 80)
LAN Server IP Adress: 192.168.0.2
WAN Users: XXX.XXX.XXX.XXX through YYY.YYY.YYY.YYY

I see. Then you would want to do that with firewall settings. See page 61-63 of manual.

 DIR-890L Manual (http://ftp://ftp2.dlink.com/PRODUCTS/DIR-890L/REVA/DIR-890L_REVA_MANUAL_1.00_EN_US.PDF)

Name: Test (etc)
Source IP Address Range(WAN): XXX.XXX.XXX.XXX through YYY.YYY.YYY.YYY
Destiniation IP Address Range(LAN) 192.168.0.2
Port Range: Both 80-81 (?)
Title: Re: Create port forwarding rules where you specify WAN IP addresses
Post by: Jason303 on November 18, 2015, 01:08:35 PM
Thanks! In the IPv4/IPv6 Rules how do you specify any WAN IP address? I created the rule:

Name: TestHTTP
Source IP Address Range: WAN 1.1.1.1-255.255.255.255
Destination IP Address Range: LAN 192.168.0.2
Port Range: TCP 80
Schedule: Always Enable

Is it correct to just enter 1.1.1.1-255.255.255.255 for the Source IP Address Range if you want to ANY WAN users?