Opnsense with OpenVPN, how to allow one application to bypass VPN

Started by keg0bass, December 26, 2023, 04:03:05 PM

Previous topic - Next topic
Hello,

I'm a noobie but I was able to get NordVPN (OpenVPN) working with Opnsense.  However, I have an application that runs on my Windows PC that just won't work now through the tunnel.  Is it possible to have this one process/app/port to bypass the VPN?  I tried looking through the docs but I couldn't figure it out without breaking the entire firewall lol. 

Any guidance would be greatly appreciated.

You tunnel all through openvpn using the Opnsense router or do you use an openvpn application on your computer and happen to have an opnsense router? Can you show some firewall rules or how you have it setup now?

OpenVPN understands networks, not applications. You chose what networks to route through the tunnel. One way to control traffic is to hard-code proxy settings into apps and then route only the proxy traffic through the tunnel, letting other Internet-based traffic go direct to the Internet (bypassing the Proxy and VPN). OPNsense supports the Squid web proxy (os-squid).