buenas, como andan? tengo echa VPN y andando de hace algunos años, y en las conexiones nuevas que creo me salta el siguiente error: "options error: in c:program files\openvpn\config\client.ovpn:1: maximum option line length (256) exceeded, line starts"
Alguien me puede ayudar?
Desde ya muchas gracias
good, how are you? I have a VPN and it has been running for a few years, and in the new connections that I create I get the following error: "options error: in c:program files\openvpn\config\client.ovpn:1: maximum option line length (256) exceeded, line starts"
Can somebody help me?
From already thank you very much
Consulta/questions
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jan 19, 2022 1:20 pm
Re: Consulta/questions
Te dejo las lineas de configuracion que tengo
I leave you the configuration lines that I have
client
dev tun
proto tcp-client
remote 191.98.216.178
port 1194
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca cert_export_ca.crt
cert cert_export_MPERE.crt
key cert_export_MPERE.key
verb 4
mute 10
cipher AES-256-CBC
auth SHA1
auth-user-pass secret.txt
auth-nocache
redirect-gateway def1
route 192.168.30.34 255.255.255.0
route 192.168.0.7 255.255.255.0
I leave you the configuration lines that I have
client
dev tun
proto tcp-client
remote 191.98.216.178
port 1194
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca cert_export_ca.crt
cert cert_export_MPERE.crt
key cert_export_MPERE.key
verb 4
mute 10
cipher AES-256-CBC
auth SHA1
auth-user-pass secret.txt
auth-nocache
redirect-gateway def1
route 192.168.30.34 255.255.255.0
route 192.168.0.7 255.255.255.0
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: Consulta/questions
Hello,
I am thinking this might have something to do with Unix vs. Windows/DOS line ends? I don't know if Notepad.exe can do that, but "notepad+" can, and if your Windows has wsl.exe there are numerous tools there which can convert. Simplest would be to open it in wsl's "nano" editor and when saving, change the line ends.
regards, rob0
I am thinking this might have something to do with Unix vs. Windows/DOS line ends? I don't know if Notepad.exe can do that, but "notepad+" can, and if your Windows has wsl.exe there are numerous tools there which can convert. Simplest would be to open it in wsl's "nano" editor and when saving, change the line ends.
regards, rob0
OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jan 19, 2022 1:20 pm
Re: Consulta/questions
no entendi bien, pero lo que hice fue levantar el secret y cargarlo en notepad + (ya que el anterior lo cree con notepad de windows) y me sigue tirando el mismo error.
Capaz que no te referias a eso, sino decime a que te referias?
Saludos
I did not understand well, but what I did was lift the secret and load it in notepad + (since the previous one created it with windows notepad) and it keeps throwing me the same error.
Maybe you didn't mean that, but tell me what you meant?
Greetings
Capaz que no te referias a eso, sino decime a que te referias?
Saludos
I did not understand well, but what I did was lift the secret and load it in notepad + (since the previous one created it with windows notepad) and it keeps throwing me the same error.
Maybe you didn't mean that, but tell me what you meant?
Greetings
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Consulta/questions
I would delete the broken file and create a new one.