Home Sever Setup (ESXI 6.7 U2 - Centos & Windows)

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
easyfix
Posts: 1
Joined: Fri Apr 15, 2022 8:22 am

Home Sever Setup (ESXI 6.7 U2 - Centos & Windows)

Post by easyfix » Fri Apr 15, 2022 8:41 am

Hello,

Although I am still fairly new at all this, I need a bit of guidance on how connect the all together. In my home server setup (2 domain controllers, 2 Centos OS 8 and 1 SoftEther VPN Server.)

I've managed to connect the domain controller and are working correctly however I'm having trouble in connecting the Centos as VPN Client to the SoftEther VPN Server. Error given " Error occurred. (Error code: 1)
Connection to the server failed. Check network connection and make sure that address and port number of destination server are correct."

Without any success, I've port forwarded from modem and router to the VPN Server and opened the following ports: 443, 992, 9821 and 5555



SSH Connection
[root@test vpnclient]# ./vpncmd
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.38 Build 9760 (English)
Compiled 2021/08/17 22:32:49 by buildsan at crosswin
Copyright (c) SoftEther VPN Project. All Rights Reserved.

By using vpncmd program, the following can be achieved.

1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)

Select 1, 2 or 3: 2

Specify the host name or IP address of the computer that the destination VPN Client is operating on.
If nothing is input and Enter is pressed, connection will be made to localhost (this computer).
Hostname of IP Address of Destination: 192.168.1.14/vpn138029825.softether.net

Error occurred. (Error code: 1)
Connection to the server failed. Check network connection and make sure that address and port number of destination server are correct.


VPN Check Is fine
VPN Tools>Check
Check command - Check whether SoftEther VPN Operation is Possible
---------------------------------------------------
SoftEther VPN Operation Environment Check Tool

Copyright (c) SoftEther VPN Project.
All Rights Reserved.

If this operation environment check tool is run on a system and that system passes, it is most likely that SoftEther VPN software can operate on that system. This check may take a while. Please wait...

Checking 'Kernel System'...
Pass
Checking 'Memory Operation System'...
Pass
Checking 'ANSI / Unicode string processing system'...
Pass
Checking 'File system'...
Pass
Checking 'Thread processing system'...
Pass
Checking 'Network system'...
Pass

All checks passed. It is most likely that SoftEther VPN Server / Bridge can operate normally on this system.

The command completed successfully.




Also if i pick option on i am also able to connect to the VPN server but not as client

[root@test vpnclient]# ./vpncmd
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.38 Build 9760 (English)
Compiled 2021/08/17 22:32:49 by buildsan at crosswin
Copyright (c) SoftEther VPN Project. All Rights Reserved.

By using vpncmd program, the following can be achieved.

1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)

Select 1, 2 or 3: 1

Specify the host name or IP address of the computer that the destination VPN Server or VPN Bridge is operating on.
By specifying according to the format 'host name:port number', you can also specify the port number.
(When the port number is unspecified, 443 is used.)
If nothing is input and the Enter key is pressed, the connection will be made to the port number 8888 of localhost (this computer).
Hostname of IP Address of Destination: vpn138029825.softether.net

If connecting to the server by Virtual Hub Admin Mode, please input the Virtual Hub name.
If connecting by server admin mode, please press Enter without inputting anything.
Specify Virtual Hub Name: easyvpn
Password: ************************************

Connection has been established with VPN Server "vpn138029825.softether.net" (port 443).

You have administrator privileges for Virtual Hub 'easyvpn' on the VPN Server.

Please let me know what can be done to get this running

Many thanks,
Chris

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: Home Sever Setup (ESXI 6.7 U2 - Centos & Windows)

Post by solo » Fri Apr 15, 2022 12:16 pm

easyfix wrote:
Fri Apr 15, 2022 8:41 am
I'm having trouble in connecting the Centos as VPN Client to the SoftEther VPN Server. Error given " Error occurred. (Error code: 1)
...
[root@test vpnclient]# ./vpncmd
...
1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)
Select 1, 2 or 3: 2
Specify the host name or IP address of the computer that the destination VPN Client is operating on.
If nothing is input and Enter is pressed, connection will be made to localhost (this computer).
Hostname of IP Address of Destination: 192.168.1.14/vpn138029825.softether.net
Chris, this ain't right. Either go localhost or instead...

Code: Select all

systemctl start vpnclient
cd /usr/local/vpnclient
./vpncmd
2
[Enter][Enter]
RemoteEnable
	RemoteEnable command - Allow Remote Management of VPN Client Service
	The command completed successfully.
exit
Then from Win OS/Wine setup with GUI comfort... vpncmgr.exe /remote

If you insist on CLI then you are on your own...

Post Reply