OPNsense Forum

English Forums => Virtual private networks => Topic started by: ajaykaush1k on September 06, 2022, 07:59:22 AM

Title: Policy Based VPN exclusion creation
Post by: ajaykaush1k on September 06, 2022, 07:59:22 AM
Hi All,

I have successfully created Policy based VPN. All the traffic is routed through IPSEC Tunnels But i want to specifically exclude some public IPs as a local breakout. In short, the traffic passes via my WAN interface not IPSEC.

I have tried creating firewall rule for specific IPs to go through WAN But it doesn't work.

Is there a way to do this? can somebody guide me on the way forward?

Thanks
Title: Re: Policy Based VPN exclusion creation
Post by: Bob.Dig on September 07, 2022, 05:07:12 PM
Quote from: ajaykaush1k on September 06, 2022, 07:59:22 AM
I have successfully created Policy based VPN.
No you don't if everything goes to the VPN... that is the point of policy based routing.
Title: Re: Policy Based VPN exclusion creation
Post by: ajaykaush1k on September 08, 2022, 06:03:01 AM
what if we need to exclude something from going through VPN tunnel??

FYI i put 0.0.0.0/0 in phase 2 for both tunnels as remote network address.