OpenVPN Instances - Ignore Redirect Gateway

Started by hidef, September 20, 2024, 02:41:45 AM

Previous topic - Next topic
Hello,

OpenVPN states --pull-filter ignore redirect-gateway is the preferred way to override server pushes to redirect traffic to gateway.  Does the new Opnsense Instances handle this method?  I'm using --route-nopull for now.  I dont see anything like it in the Client Specific Overrides section either.

https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway

Thanks.

That's applied on the client side to override what the server is pushing. Just edit the client config.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Is there a place in the new Instances to do this??
It doesn't seem obvious to me if so.

OPNsense is the server. Why would you configure a client side setting there? This goes into the config file for the client.

If you are using OPNsense as a client you did not say so and the most common scenario for OpenVPN is OPNsense as server and users with PCs, Macs, ... as clients.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


Ah ... sorry then. Ignore my remarks, please.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I'm really interested on how to avoid all traffic through firewall. My students only needs the VPN for acces to a VM in my school (subnet in 172.16/16). I don't want them to use the bandwidth for Youtube/Spotify and others usages.

Seems you're running a server?
So this is a different thing at all and you should open a new topic.