D-Link Forums

The Graveyard - Products No Longer Supported => D-Link NetDefend Firewalls => Topic started by: kristofdb80 on April 16, 2010, 02:15:48 AM

Title: DFL-800: VPN on WAN2, other traffic on WAN1
Post by: kristofdb80 on April 16, 2010, 02:15:48 AM
Hi all,

I'm new to the DFL configuration and I'm trying to set up following configuration.

WAN1 and WAN2 are both connected to ISP with static IP
I would like to send all traffic over WAN1 and all incomming VPN connections must connect using WAN2.

Could someone please explain me (in clear text  ;D) how I need to configure this on the DFL?

Thank you in advance.
Title: Re: DFL-800: VPN on WAN2, other traffic on WAN1
Post by: danilovav on April 16, 2010, 04:40:30 AM
If you want to make NAT thru WAN1 and accept incoming connections from WAN2 at the same time, you need make PBR. It will not manage any traffic types, it will just let work WAN2 from outside at the same time with WAN1.

1. Routing > Routing tables
Add new routing table (ex, alt_wan2)
Add one route wan2 all-nets with any metric and without monitoring

2. Routing > Routing rules
Add PBR rule wan2/all-nets any/all-nets, forward main, return alt_wan2

After, your DFL will accept connections from WAN2
Set up VPN server on WAN2 - it will works