OPNsense Forum

English Forums => Virtual private networks => Topic started by: hidef on September 20, 2024, 02:41:45 AM

Title: OpenVPN Instances - Ignore Redirect Gateway
Post by: hidef on September 20, 2024, 02:41:45 AM
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 (https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway)

Thanks.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: Patrick M. Hausen on September 20, 2024, 10:28:51 AM
That's applied on the client side to override what the server is pushing. Just edit the client config.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: hidef on September 20, 2024, 05:39:16 PM
Is there a place in the new Instances to do this??
It doesn't seem obvious to me if so.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: Patrick M. Hausen on September 20, 2024, 07:24:22 PM
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.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: hidef on September 20, 2024, 08:22:54 PM
I'm using it as a client.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: Patrick M. Hausen on September 20, 2024, 08:25:26 PM
Ah ... sorry then. Ignore my remarks, please.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: droumanet on September 27, 2024, 10:52:38 PM
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.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: viragomann on September 27, 2024, 11:34:07 PM
Seems you're running a server?
So this is a different thing at all and you should open a new topic.
Title: Re: OpenVPN Instances - Ignore Redirect Gateway
Post by: krdian on June 25, 2025, 11:32:33 AM
Quote from: hidef on September 20, 2024, 02:41:45 AMHello,

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 (https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway)

Thanks.

Hello,
I'm also interested in some kind of override option to add "pull-filter ignore redirect-gateway"