Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Not working in UDM Pro with firmware 2.x #10

Open
jaromirrivera opened this issue Feb 8, 2023 · 4 comments
Open

Not working in UDM Pro with firmware 2.x #10

jaromirrivera opened this issue Feb 8, 2023 · 4 comments

Comments

@jaromirrivera
Copy link

The latest version of Unifi OS for Dream Machines (2.4.47 Release Candidate) seems to have broken this excellent patch.

Ubiquiti has changed the way the openvpn site to site vpn client is called and configured in the underlying OS which causes incorrect parameters to be sent to the openvpn-wrapper and openvpn-notify scripts...

@jaromirrivera
Copy link
Author

jaromirrivera commented Feb 9, 2023

I was able to get it to work by changing the shell runtime from #!/bin/sh to #!/bin/bash and replacing references to /run/openvpn-N with /etc/openvpn/openvpn-N, in the wrapper, notify, startup scripts, and conf files.

@cpriest
Copy link
Owner

cpriest commented Feb 9, 2023

Interesting, I wonder if that's what has bonkered up my own UDM. I haven't had the time to look into it. Thanks!

@jaromirrivera
Copy link
Author

With firmware 2.5.16 the OpenVPN Client in available in the GUI now...

@cpriest
Copy link
Owner

cpriest commented Feb 26, 2023 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants