You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Redundant "{username}-proxy" line in ovpn file of openvpn client zip export causes openvpn client to fail #798
Describe the bug
When using the openvpn client export function, the exported openvpn contains the line "{username}-proxy" ({username} is the value of the user whose configuration was exposed), which causes the openvpn client the fail.
To Reproduce
Steps to reproduce the behavior:
Run an API POST reuqest to api/v2/vpn/openvpn/client_export, with the following body:
{
"id": 0,
"username": "username",
"type": "confzip",
"certref": "certref"
}
Try to connect with the resulting ovpn file and openvpn client version 2.5.11 resulting in:
Options error: Unrecognized option or missing or extra parameter(s) in .ovpn: {username}-proxy (2.5.11)
v2.6.7-dev-6c4370c contains a fix for this if you want to verify it resolves your issue beforehand. Otherwise, I should have the full patch out later tonight or tomorrow.
Activity
Coffee-Processing-Unit commentedon Dec 3, 2025
@jaredhendrickson13 can you please take a look at this one? It is urgent to me. Thank you!
jaredhendrickson13 commentedon Dec 3, 2025
I'll look into this today. I have an idea as to where the issue might be.
Coffee-Processing-Unit commentedon Dec 3, 2025
Thank you very much
fix(OpenVPNClientExporter): return empty array if no proxy traits def…
fix(OpenVPNClientExporter): return empty array if no proxy traits def…
jaredhendrickson13 commentedon Dec 3, 2025
v2.6.7-dev-6c4370c contains a fix for this if you want to verify it resolves your issue beforehand. Otherwise, I should have the full patch out later tonight or tomorrow.
Coffee-Processing-Unit commentedon Dec 4, 2025
The fix is working, thank you Jared, I highly appreciate it
v2.6.7 Fixes (#800)