OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How can I make my VPN use certain gateway?
« previous next »
  • Print
Pages: [1]

Author Topic: How can I make my VPN use certain gateway?  (Read 2370 times)

park0kyung0won

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
How can I make my VPN use certain gateway?
« on: January 22, 2019, 06:21:02 pm »
Hello
I am using a Zerotier on my OPNSense box and
it has two gateways.
I need my Zerotier traffic to go through one gateway among them
How can I enforce this through OPNSense setting?
Logged

iMx

  • Full Member
  • ***
  • Posts: 202
  • Karma: 15
    • View Profile
Re: How can I make my VPN use certain gateway?
« Reply #1 on: January 26, 2019, 09:52:03 am »
You need to create a rule on the interface/zone that the traffic first touches, then specify the gateway on the rule.

Zerotier Interface, or LAN interface, depending on the source of the traffic.
Source: source subnet
Destination: Presumably any, or the destination you want to route
Gateway: Your chosen gateway
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How can I make my VPN use certain gateway?
 

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