Openvpn from an ipad, no config


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: - Configure iOS Device for OpenVPN. But all 3 methodes doesn’t work. I get with the script methode:

 bash ipad-TO-IPFire.ovpn ****** line 2: $'\r': command not found
: invalid optionine 3: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] line 13: $'\r': command not found line 30: syntax error near unexpected token `$'in\r''
' line 30: `    case "$key" in

Is there an newer wiki or annother way to get it running?

Regards Bernd

I am not a windows person but it looks like there are carriage returns \r (CR) in the 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!

1 Like

The below topic may be helpful


tiny hint
open the file in Notepad++
then go to Edit–>EOL Conversion–> Unix (LF)
then Save


It is definitely helping at least for me. Thanks for the help man.

1 Like