NethServer Version: 7.9.2009 on RaspberryPI Module: OPENVPN
Hello,
I wanted to start to use the Roadwarrior VPN. I configured everything like described, but for any user I made a roadwarrior entry I am getting the following error in the logfile. I used the option type “system-user”. The users are existing and can access e.g. their email without prioblems:
…
Account pre.name not present in vpn db
Sat Mar 4 14:36:09 2023 aa.bb.cc.dd:9137 WARNING: Failed running command (–auth-user-pass-verify): external program exited with error status: 1
Sat Mar 4 14:36:09 2023 aa.bb.cc.dd:9137 TLS Auth Error: Auth Username/Password verification failed for peer
…
Do I need to register the users in some separate VPN USER file or so? I did not read that …
So, what is wrong and should be corrected - I am lost here, with other server distros e.g. ZENTYAL it did work without problems …
well, unfortunately nothing like that. It was/is running a clean install on the RaspberryPI and all other stuff is running perfect - except the VPN-tunnel …
From memory, the user/password options can’t be used with system users. Although it was a verrrrrrrry long time ago when I set up my Roadwarrior configuration
after digging deaper in I found my error caused by misinterpreting ‘user’.
In my openvpn clients I really just used the user aka joe.smith, but it appeared that the user in the clients must be the full email adress, aka joe.smth@sub.dom.tld …
What a stupid misunderstanding :-)))
Now, all my roadwarriors can connect without problems…