DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

Routing some clients via VPN, others not

  • mgillespie2
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
26 Mar 2021 15:43 #1 by mgillespie2
Routing some clients via VPN, others not was created by mgillespie2
So I have a outbound VPN connection on a 2862, and right now all connections are routed via this PPTP VPN connection (in Lan to Lan). Is there a way to route some internal network clients/devices via my regular non-VPN connection?

Please Log in or Create an account to join the conversation.

  • mgillespie2
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
26 Mar 2021 17:01 #2 by mgillespie2
Replied by mgillespie2 on topic Re: Routing some clients via VPN, others not
Short term fix is to run a VPN tunnel from a device over the routers VPN tunnel, not the most ideal solution.

Please Log in or Create an account to join the conversation.

  • mgillespie2
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
27 Mar 2021 14:37 #4 by mgillespie2
Replied by mgillespie2 on topic Re: Routing some clients via VPN, others not
Thanks, had a quick play with this, couldn't get it to work, the routing depending on client (or destination country) was occuring, but I could get everything else working. Depending on settings, I either had VPN traffic and everything else a lost packet, or no VPN routing, never achieved selective routing. It's as if the return packets didn't know where to go.

Are there any settings on the VPN page I need to tweak to get this routing to work?

I used the route policy diagnostic and the routing is doing the correct thing, routing sone via WAN1, some via VPN1 depending on the input. However VPN packets are getting lost somewhere in the setup.

How should I get setting up gateway and default gateways? There are also lots of other random check boxes like

Pass packets from LAN in Routing mode to VPN
Pass Packets to WAN when VPN disconnects
Change default route to this VPN tunnel ( Only active if one single WAN is up )
From first subnet to remote network, you have to do (NAT/Route)

Please Log in or Create an account to join the conversation.

  • mgillespie2
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
27 Mar 2021 19:00 #5 by mgillespie2
Replied by mgillespie2 on topic Re: Routing some clients via VPN, others not
Hmm, done a factory reset and setup from afresh, and found some alternative instructions here:

https://emtunc.org/blog/11/2015/setting-up-a-vpn-tunnel-on-draytek-nordvpn/

It's doing exactly the same.

When I set a route policy to route a particular client source IP over VPN, all I get is connection time-outs, even if though the VPN is connected. I know the VPN is working, as when I tick to make it the default, everything is routed via the VPN fine. I am having trouble when it's not the default route, and I am trying to selectively route stuff.

Please Log in or Create an account to join the conversation.

  • hornbyp
  • User
  • User
More
27 Mar 2021 19:11 #6 by hornbyp
Replied by hornbyp on topic Re: Routing some clients via VPN, others not
I'm sorry, but you've exhausted my knowledge on the subject.

Please Log in or Create an account to join the conversation.