I use openvpn on a windows machine for years, and it works fine. No I try to make a connection over an Ipad. I use this wiki: wiki.ipfire.org - Configure iOS Device for OpenVPN. But all 3 methodes doesn’t work. I get with the script methode:
bash openvpncmd.sh ipad-TO-IPFire.ovpn ******
openvpncmd.sh: line 2: $'\r': command not found
: invalid optionine 3: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
openvpncmd.sh: line 13: $'\r': command not found
openvpncmd.sh: line 30: syntax error near unexpected token `$'in\r''
'penvpncmd.sh: line 30: ` case "$key" in
Is there an newer wiki or annother way to get it running?
I am not a windows person but it looks like there are carriage returns \r (CR) in the openvpncmd.sh file. There should only be linefeeds (LF). I think that happens with a windows application called notepad.
Hopefully someone with windows experience will stop by and be able to assist!