D-Link Forums

The Graveyard - Products No Longer Supported => D-Link NetDefend Firewalls => Topic started by: aroraditya on November 26, 2011, 01:30:39 AM

Title: Port Forwarding
Post by: aroraditya on November 26, 2011, 01:30:39 AM
Hello everyone.

I just looking how can i do port forwarding in DFL - 800 firewall. i have no idea how to do this. Any suggestion will be very helpful

thanks in advance for you suggestion

Regards
Aditya
Title: Re: Port Forwarding
Post by: danilovav on November 27, 2011, 12:02:26 PM
# access from inside
SAT lan/lannet core/wan_ip yourservice, SAT: new destination = yourprivatehost_ip
NAT lan/lannet core/wan_ip yourservice
# access from outside
SAT wan/all-nets core/wan_ip yourservice, SAT: new destination = yourprivatehost_ip
Allow wan/all-nets core/wan_ip yourservice

Your pirvate (inside) host should use DFL as default gateway and accept external (non lannet) inbound solutions. If it's not possible, change last Allow rule to NAT, but you will lose source (external clients) IP addresses.