I have been using Softether for many years with Docker containers. Very successfully I might add. However, for an unknown reason I am now getting authentication problems. I spin up a Softether VPN server on one linux host:
Code: Select all
docker create --network host \
--cap-add NET_ADMIN \
--name softether \
-e USERS='xerxes:xerxesPassw0rd' \
docker.io/siomiz/softethervpn
Code: Select all
docker create --name=softether-vpnclient \
--net=host --privileged \
-e VPN_SERVER=gabriel \
-e VPN_PORT=5555 \
-e ACCOUNT_USER=xerxes \
-e ACCOUNT_PASS=xerxesPassw0rd \
-e TAP_IPADDR=192.168.30.2/255.255.255.0 \
docker.io/mitsutaka/softether-vpnclient
Client output:
Code: Select all
2024-01-03 21:53:36.689 Compiled 2019/02/28 19:22:54 by yagi at pc33
2024-01-03 21:53:36.689 The SoftEther VPN Client Engine has been started.
2024-01-03 21:53:36.689 Loading configuration file...
2024-01-03 21:53:36.689 Configuration file does not exist. Applying the initial settings.
2024-01-03 21:53:36.689 Monitoring the directory "/usr/local/vpnclient". If the amount of available free disk space becomes less than 100.00 MBytes, the backup files for log files and configurations that are saved on the sub-directories of this directory will be automatically deleted in the order of oldest first. The amount of free disk space that determines when to start deletion can be modified by changing the "AutoDeleteCheckDiskFreeSpaceMin" item in the configuration file.
2024-01-03 21:53:38.926 A Virtual Network Adapter "DEFAULT" has been created.
2024-01-03 21:53:39.279 A new VPN Connection Setting "DEFAULT" has been created.
2024-01-03 21:53:39.592 Connection processing for VPN Connection Setting "DEFAULT" has started.
2024-01-03 21:53:39.592 VPN Connection Setting "DEFAULT": Connection operation starting (this is now 1 times).
2024-01-03 21:53:39.652 VPN Connection Setting "DEFAULT": The connection has been either disconnected or it failed. Cause: User authentication failed. (code 9)
Server log:
Code: Select all
2024-01-03 21:54:54.937 [HUB "DEFAULT"] Connection "CID-10": User authentication failed. The user name that has been provided was "xerxes".
2024-01-03 21:54:54.957 Connection "CID-10" terminated by the cause "User authentication failed." (code 9).
2024-01-03 21:54:54.957 Connection "CID-10" has been terminated.
2024-01-03 21:54:54.957 The connection with the client (IP address 192.168.1.135, Port number 47188) has been disconnected.
Any suggestions as to why it believes there is a problem with the authentication, or credentials? I can't make this any simpler for it.
Many thanks