OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • Connect WireGuard over specific WAN / gateway only?
« previous next »
  • Print
Pages: [1]

Author Topic: Connect WireGuard over specific WAN / gateway only?  (Read 1832 times)

Ales

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Connect WireGuard over specific WAN / gateway only?
« on: March 09, 2020, 02:33:38 pm »
Hi All,

I've just connected simple WireGuard server (VPS) in digitalocean.com from OPNsense and it works great! The idea is that some OPNsense subnets (VLANs) will router all trafic over VPN when clients in that subnet/VLAN go to internet. I already have such setup with OpenVPN.

I have two WANs - one is cable internet and the second is 4G router. With OpenVPN I'm able to specify to connect one OpenVPN server in digitalocean.com over first WAN and second OpenVPN server over second WAN by selecting specific interface when setting up the first and second OpenVPN client configuration.

I don't see such configuration (out interface or specific gateway) in WireGuard. I can test that OPNsense connected the WireGuard server but I have no idea if it's using first WAN/gateway or the second.

Could you please help me with limiting/specifying WAN/gateway that is used by WireGuard?

Thank you.

Kind regards,
Ales V.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • Connect WireGuard over specific WAN / gateway only?
 

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