OPNsense Forum

English Forums => General Discussion => Topic started by: park0kyung0won on January 22, 2019, 06:21:02 pm

Title: How can I make my VPN use certain gateway?
Post by: park0kyung0won 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?
Title: Re: How can I make my VPN use certain gateway?
Post by: iMx 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