• February 24, 2025, 09:58:23 AM
  • 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: DFL-800: VPN on WAN2, other traffic on WAN1  (Read 4184 times)

kristofdb80

  • Level 1 Member
  • *
  • Posts: 1
DFL-800: VPN on WAN2, other traffic on WAN1
« 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.
Logged

danilovav

  • Level 4 Member
  • ****
  • Posts: 424
  • Alexandr Danilov
Re: DFL-800: VPN on WAN2, other traffic on WAN1
« Reply #1 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
Logged
BR, Alexandr Danilov