Page 1 of 1

Error (Error Code 9): User authentication failed.

Posted: Fri Nov 01, 2019 10:05 pm
by EckyBrazzz
Great news, installed the VPN on CENTOS 7

Code: Select all

https://www.softether.org/4-docs/1-manual/7._Installing_SoftEther_VPN_Server/7.3_Install_on_Linux_and_Initial_Configurations


cd /tmp/
wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.29-9680-rtm/softether-vpnserver-v4.29-9680-rtm-2019.02.28-linux-x64-64bit.tar.gz
tar xzvf softether-vpnserver-v4.29-9680-rtm-2019.02.28-linux-x64-64bit.tar.gz
cd vpnserver
cp -va /tmp/vpnserver/ /
cd vpnserver/
Created init.d script

Code: Select all

#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Server
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
Works server starts stop & restart

When I check if it listens to a port

Code: Select all

netstat -ltnp | grep -w ':1194' 
tcp6       0      0 :::1194                 :::*                    LISTEN      4918/vpnserver   
Great works.

Create user
Create certificate for user
Create certificate on server

Try to log in on all different ways, password, certificate, no password, but get the message Error (Error Code 9): User authentication failed.

How to solve this?

Thanks for any advice!

Re: Error (Error Code 9): User authentication failed.

Posted: Sat Nov 02, 2019 5:58 am
by EckyBrazzz
Resolved, that CSF issue is the cause so need fix for that.