OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Route based on url / domain ?
« previous next »
  • Print
Pages: [1]

Author Topic: Route based on url / domain ?  (Read 228 times)

Redguy

  • Newbie
  • *
  • Posts: 10
  • Karma: 2
    • View Profile
Route based on url / domain ?
« on: July 13, 2018, 11:51:03 pm »

Hi !

I use an ExpressVPN connection on my opnsense 18.1.11 firewall.  However, i do not want to route all traffic to the VPN, just a small part of it..

This is easily done by setting a few static routes for specific ip adresses or ip ranges and force those to use the ExpressVPN gateway while the rest will use the default GW.

However, what i would like to do is to base these routes on a certain Domain name or URL, instead of an IP address. This way it will also work if the sites in question using DNS round robing or a loadbalancer kind of setup to distribute their load over multiple servers..

Can one do such a thing with OPNSense ?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Route based on url / domain ?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2019 All rights reserved
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2