Error Code 2 VPNCMD

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
djram82
Posts: 3
Joined: Mon Mar 23, 2015 2:51 pm

Error Code 2 VPNCMD

Post by djram82 » Mon Mar 23, 2015 2:57 pm

Hello !

I'm sorry, but I don't write English very well (I'm French :))

I installed SoftEther VPN Server 4.14 in a Ubuntu Server 12.04 LTS 32 Bits.

When I want to configure the soft with ./vpncmd ant the option 1, I've got this :

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:

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:
Error occurred. (Error code: 2)
Protocol error occurred. Error was returned from the destination server.

Can you help me please ?

Thank you :)

GIANT_CRAB
Posts: 62
Joined: Tue Mar 17, 2015 7:54 am

Re: Error Code 2 VPNCMD

Post by GIANT_CRAB » Mon Mar 23, 2015 4:43 pm

Hello, please verify your installation.

Run ./vpncmd and press 3. Then type in "check" .

djram82
Posts: 3
Joined: Mon Mar 23, 2015 2:51 pm

Re: Error Code 2 VPNCMD

Post by djram82 » Tue Mar 24, 2015 10:55 am

Hello,

Thank you for your answer.

The check is ok, everything pass.

"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."

djram82
Posts: 3
Joined: Mon Mar 23, 2015 2:51 pm

Re: Error Code 2 VPNCMD

Post by djram82 » Fri Mar 27, 2015 6:18 am

Hello,

Nobody can help me ?

Thank you :)

thisjun
Posts: 2090
Joined: Mon Feb 24, 2014 11:03 am

Re: Error Code 2 VPNCMD

Post by thisjun » Wed Apr 01, 2015 6:11 am

I guess that another process occupies 443 port.
Try to connect with 5555.

riodda
Posts: 3
Joined: Sat Jan 30, 2016 9:53 am

Re: Error Code 2 VPNCMD

Post by riodda » Wed Nov 09, 2016 5:21 pm

I'm having the same issue on Gargoyle on Alix6f board, i've installed the server (4.21-9613, same on loder version), all the checks are ok with vpncmd, but when i try to connect to the server locally (first connection) i have the error

Error occurred. (Error code: 2)
Protocol error occurred. Error was returned from the destination server.
It's a new installation therfore i don't think there is anything on the ports (to be sure i also disabled openvpn that comes by default).
Same for Gargoyle 1.8.1 and 1.9.0, it's strange becouse on OpenWRT on the same board it works perfect.
Any help wellcome !

1463887848
Posts: 5
Joined: Thu Oct 05, 2017 11:14 am

Re: Error Code 2 VPNCMD

Post by 1463887848 » Thu Oct 05, 2017 11:29 am

I also have the same problem, I am in China, hope to get help

Post Reply