Here are the threads about this script:
https://community.sophos.com/products/unified-threat-management/astaroorg/f/95/t/67045
OVPN to APC Converter | WhoCares?
Astaro ASG as OpenVPN Access Server client | WhoCares?
I put in the fixes described in the third link and also revised the code that generates the header to make it consistent with a .apc file I generated using utm, but utm is still rejecting the .apc file generated by converting the .ovpn for the server I'm trying to connect with.
I've exchanged some emails with sophos / astaro customer support, but all they've said is that this feature not a priority (despite how long people have been asking for it and how simple it would be for them to implement) and to try and get support for it on the forum. I also sent a PM to the product manager, but haven't received any response.
I haven't given up fixing the script, but I'm almost out of ideas. Therefore I'm asking anyone who has votes to spare to vote for this feature. Here is the link: SSL VPN: Convert .ovpn to .apc/.epc for Site-to-Site SSL Tunnels
If sophos will release some documentation on the format of the .apc file, I'll try to fix the script and make it available to anyone who wants it.
So please support this either by voting up the feature or by replying to this post.
This thread was automatically locked due to age.