You can capture the script output to a file, and post it in the router's web server.
sh -v -x /tmp/create-ovpn.sh > /www/myclient.ovpn
Then on the client PC, type http://192.168.1.1/myclient.ovpn into the web browser, and it will be downloaded to your Downloads directory on the PC.
Be sure to erase the file from the router (rm /www/myclient.ovpn) after you have it copied, both for security reasons and to free up the space in your flash.
'The file or path cannot be found'. I'm not in front of my computer at the moment but it was along those lines. I will get back to you once I can establish a SSH session at home.
Better paste here the whole output after you run the command. I suspect that some folder is missing and needs to be created, but let's see what the error is exactly.
@vgaetera thank you for keeping that wiki page updated, however:
Copy-pasting code from a web-page into terminal is easier than downloading the script. Also gives user more control over what to do/not do and ability to easier inspect the commands they're about to run.
Removing comp_lzo actually hurts compatibility with older systems (imho not a single Chromebook supports lz4. Also, comp_lzo option was added back to openvpn in 18.06.2.
Ah, apologies then. Would be great if you brought it all back.
Ah, misunderstood what it meant -- because originally there was information on both lzo and lz4, I've had a wrong impression only lz4 was left. AFAIK Chromebooks (like all of them) do not support lz4 yet. If default now is no compression it may be the safest bet.