Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenVPN client Override has no option for topology #8361

Open
tsdogs opened this issue Feb 20, 2025 · 4 comments
Open

OpenVPN client Override has no option for topology #8361

tsdogs opened this issue Feb 20, 2025 · 4 comments
Labels
support Community support

Comments

@tsdogs
Copy link

tsdogs commented Feb 20, 2025

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

If an OpenVPN instance is configured with Topology subnet and a Client Override is used with Push reset option, the topology does not get pushed to the client (as per OpenVPN documentation) some clients (like on Mac OS) will complain that the pushed IP is wrong (as default is net30)

To Reproduce

Steps to reproduce the behavior:

  1. Configure a OpenVPN Instance with topology subnet
  2. Configure a client specific override with advances push reset option (so not to push all the options specifically the subnets) and set the specific pushed IP
  3. Connect using OpenVPN which should complain about the wrong ifconfig push option

Expected behavior

There should also be an option in the Client Specific Override to set topology subnet (or a general additional settings option to put specific other settings)

Describe alternatives you considered

If you use "topology subnet" in the client export on Windows it seems to be working

@tsdogs
Copy link
Author

tsdogs commented Feb 20, 2025

Image

@AdSchellevis
Copy link
Member

I don't expect this is an option you can push via client specific overwrites, best check the upstream documentation https://openvpn.net/community-resources/reference-manual-for-openvpn-2-6/

@AdSchellevis AdSchellevis added the support Community support label Feb 20, 2025
@tsdogs
Copy link
Author

tsdogs commented Feb 20, 2025

I probably mis-understood the documentation.
Would it be a good alternative to have a push-delete option then?

In the "bug" report seems that pushing it again (as a work around) should work, but haven't tested it.
https://community.openvpn.net/openvpn/ticket/29

@AdSchellevis
Copy link
Member

I'm not sure, it probably depends on the client, but I would expect these options in the client config to be honest. you can always experiment yourself, the client specific overwrites are flushed to disk in this function :

function openvpn_csc_conf_write($settings, $server, $target_filename = null)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

2 participants