protocol errors when connecting from multiple clients (solved)

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
ljwobker
OpenVpn Newbie
Posts: 1
Joined: Sat Nov 17, 2018 5:07 pm

protocol errors when connecting from multiple clients (solved)

Post by ljwobker » Sat Nov 17, 2018 5:30 pm

I used the openvpn-install script located here: https://github.com/Nyr/openvpn-install to put together a test server - everything worked except none of the clients would connect. The logs on the server were:

Code: Select all

Nov 17 16:26:17 openvpn ovpn-server[2233]: Options error: Bad protocol: '11'.  
It appears that both the server.conf and client.conf file had the line

Code: Select all

proto 11
, where both the clients (tested on iOS) and the server (linux) appeared to expect the text string

Code: Select all

proto udp
rather than the numeric value.

When I manually edited the files to use "udp" instead of 11, restarted the server and rebuilt the client .ovpn files, everything seemed to work.

I haven't looked deeply into trying to determine how/why the config files were using the numbers instead of tcp/udp, but I figured it might be a common enough thing that others might benefit...

Post Reply