Question

Can't connect to VPN server

Hello,everyone,there is a problem, I followed all the instructions in this link:

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-18-04

, but I can’t connect, what could be the problem? Error below:

Options error: Unrecognized option or missing or extra parameter(s) in client1.ovpn:37: :proto (2.4.7) Use --help for more information.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @lowwro,

The good thing in this case is, that the error is helpful. It seems like you are trying to use an option proto which is actually not a OpenVPN option, so you need to either remove it or make it a comment by making it

#proto

The line of the error seems to be 37.

Regards, KDSys