What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Routing single source to multiple VPN based on destination

thebatfink

Occasional Visitor
Hi, I am using Merlin on AC86U. I have 2 OpenVPN clients (Client 1 and 3).

I would like to setup something like:
Source 192.168.1.100
Destination 1.1.1.1 -> VPN Client 1
All other destinations -> VPN Client 3
DNS is forced to VPN Client 3
If Client 1 goes down 1.1.1.1 is not reachable
If Client 2 goes down all other traffic is not reachable

Someone said ipset can achieve this (not possible via GUI) but I have no experience with anything like that. I imagine my requirement is not too far fetched - does anyone have this set up already and could share the setup so I can base off that maybe?

Thanks!
 
Similar threads
Thread starter Title Forum Replies Date
H Routing wireguard VPN 0
A Open Source Wireguard "AllowedIPs" Calculator VPN 0

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top