Hello, I am having a problem connecting a RV50x gateway to an OpenVPN Access server 2.8.3. I tried multiple configurations with no luck. I disabled TLS auth to try and remove the HMAC erros, but I’m still getting these errors:
Jul 9 20:58:54 err openvpn-1[5804]: Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:4: dhcp-pre-release (2.3.17)
Hi @hussmozen,
The first issue: HMAC erros
From the server log, it is using ‘SHA1’ for HMAC authentication"
2020-07-09T16:58:34-0400 [stdout#info] [OVPN 1] OUT: “Thu Jul 9 20:58:34 2020 xxx.xxx.19.103:2823 Outgoing Data Channel: Using 160 bit message hash ‘SHA1’ for HMAC authentication”
However, RV50 is setting Authentication Algorithm SHA 256 so it might cause the mismatch.
Please change Authentication Algorithm to SHA1 and try again.
The second issue, Unrecognized option or missing parameter. I think you should push the DNS for the server by inserting below to server.ovpn file
For example, suppose you would like connecting clients to use an internal DNS server at 10.66.0.4 or 10.66.0.5 and a WINS server at 10.66.0.8. Add this to the OpenVPN server configuration:
push “dhcp-option DNS 10.66.0.4”
push “dhcp-option DNS 10.66.0.5”
push “dhcp-option WINS 10.66.0.8”
Tell me if you have any concerns and help tick Solution if it is helpful to you
Thanks
I changed the RV50 Authentication Algorism to SHA1 and it seems the HMAC error are gone now. But I’m getting a compression related error. So I disabled Compression on the RV50, the server was already disabled, but I’m still seeing the errors:
Hi @hussmozen,
Just confirm that the openVPN server is working properly and the error appear when RV50 tried to connect to the server?
Can you share the server.ovpn configuration file as well
Thanks
Yes confirming that the server is working fine with a Windows workstation with no errors. Only when I connect using the RV50x i get the compression errors. I tried disabling compression on the server and the RV50x with no luck. The RV50x will not connect.
Yes compression was disabled on server when last tests were done. I went through again and tried setting compression on on both devices and off on both devices. Attached are the logs for both tests.
In the rv50x log no compression, I still see the warming
Jul 17 14:56:15 warning openvpn-1[1592]: WARNING: ‘comp-lzo’ is present in remote config but missing in local config, remote=‘comp-lzo’
Please make sure you reset VPN tunnel after change any configuration
The server log shows
2020-07-17T16:31:04+0000 [stdout#info] [OVPN 2] OUT: ‘Fri Jul 17 16:31:04 2020 xxxxxxxx_AUTOLOGIN/xxxxxxxx.138.239:12627 Bad LZO decompression header byte: 0’
2020-07-17T16:31:04+0000 [stdout#info] [OVPN 2] OUT: ‘Fri Jul 17 16:31:04 2020 xxxxxxxx_AUTOLOGIN/xxxxxxxx.138.239:12627 Bad LZO decompression header byte: 0’
2020-07-17T16:31:06+0000 [stdout#info] [OVPN 2] OUT: ‘Fri Jul 17 16:31:06 2020 xxxxxxxx_AUTOLOGIN/xxxxxxxx.138.239:12627 Bad LZO decompression header byte: 0’
When you got the entry in connection log, it might the " fragment 1400 ", “tun-mtu 1400” and " mssfix 1400 " paramaters are missed in your config file. Please add them then try again with LZO enabled
Again, please reset VPN tunnel after any change
Thanks
Hi @hussmozen,
It’s great to hear that the RV50 works well. It has no problem with the community version meaning RV50 is configured correctly. Please contact OpenVPN Access Server administrator for next support
Please help tick Solution the above information is useful to you guy
Thanks
I would like to add that our IT department said the OpenVPN version on these modems is so old and very inflexible. Hard to believe that Sierra Wireless left so few options for VPN setup.