• September 20, 2019, 09:40:00 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: Create port forwarding rules where you specify WAN IP addresses  (Read 2287 times)

Jason303

  • Level 2 Member
  • **
  • Posts: 30
Create port forwarding rules where you specify WAN IP addresses
« 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?
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 47763
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Create port forwarding rules where you specify WAN IP addresses
« Reply #1 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.
« Last Edit: November 18, 2015, 11:13:03 AM by FurryNutz »
Logged
Cable:200mb/10Mb>NetGear C7800>DIR-882>DGS-1100>HP 24pt Gb Switch. COVR-3902/2202/1203,DIR-2680,890L,882,880L,868L,DNR-202L,DNS-345x2,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

Hard Harry

  • Guest
Re: Create port forwarding rules where you specify WAN IP addresses
« Reply #2 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?
Logged

Jason303

  • Level 2 Member
  • **
  • Posts: 30
Re: Create port forwarding rules where you specify WAN IP addresses
« Reply #3 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
Logged

Hard Harry

  • Guest
Re: Create port forwarding rules where you specify WAN IP addresses
« Reply #4 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

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 (?)
Logged

Jason303

  • Level 2 Member
  • **
  • Posts: 30
Re: Create port forwarding rules where you specify WAN IP addresses
« Reply #5 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?
« Last Edit: November 18, 2015, 01:25:18 PM by Jason303 »
Logged