Report this

What is the reason for this report?

Can't connect to VPN server

Posted on October 17, 2019

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.



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.