TinCanTech wrote
How did you fix:
TinCanTech wrote
gartom wrote
Message hash algorithm '/usr/syno/etc/packages/VPNCenter/openvpn/mykeys/ta.key' not found
The command you have in your config is incorrect.
that :roll:
It was not super clear for me what the fix for this actually was. I tried to change one thing at a time but the actual error message was not consistent when I started over from scratch. One thing that seems to have impact is the setting "auth SHA256". When this option is commented out, the server log file shows this at server startup:
Sun Feb 13 10:25:47 2022 Diffie-Hellman initialized with 4096 bit key
Sun Feb 13 10:25:47 2022 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Feb 13 10:25:47 2022 TUN/TAP device tun0 opened
When the option "auth SHA256" is included in the server config file, the server log file looks like this:
Sun Feb 13 10:31:50 2022 Diffie-Hellman initialized with 4096 bit key
Sun Feb 13 10:31:50 2022 Control Channel Authentication: using '/usr/syno/etc/packages/VPNCenter/openvpn/mykeys/ta.key' as a OpenVPN static key file
Sun Feb 13 10:31:50 2022 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Sun Feb 13 10:31:50 2022 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Sun Feb 13 10:31:50 2022 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Feb 13 10:31:50 2022 TUN/TAP device tun0 opened
BTW, any idea why I need to specify the route to the local LAN in the client config, i.e. why pushing the route does not seem to work?
Edit: I just realized that i changed the "verb" level when starting from scratch. Maybe the error is hidden in the log above. I may test that some day.