Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpncmd access denied #1999

Open
1 task done
ashah7 opened this issue May 18, 2024 · 0 comments
Open
1 task done

vpncmd access denied #1999

ashah7 opened this issue May 18, 2024 · 0 comments

Comments

@ashah7
Copy link

ashah7 commented May 18, 2024

Are you using SoftEther VPN 5.x?

  • Yes, I'm using SoftEther VPN 5.x, not 4.x.

Version

https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git

Component

VPN Client

Operating system & version

raspbian bookworm 6.6.20+rpt-rpi-v8

Architecture or Hardware model

arm64 / raspberry pi 3

Steps to reproduce

sudo vpncmd

vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.43 Build 9799   (English)
Compiled 2023/08/31 10:30:00 by buildsan at crosswin with OpenSSL 3.0.11
Copyright (c) 2012-2023 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:

Access has been denied. Possibly the password is incorrect, or perhaps you are connecting by an incorrect admin mode. You can try inputting the password again. To cancel, press Ctrl+D.
Password:

✔️ Expected Behavior

should be able to connect to localhost and run vpncmd commands to configure the connection

❌ Actual Behavior

Getting access denied

Anything else?

below is the vpn_client.config file
I have stopped the service and deleted it, the new file still gives the same problem
I have tried blanking the hash password out (stop and start before and after) still no luck

I have even tried deleting the whole config and reinstalled with no difference.

On a new install everything works fine. Not sure what changes that eventually causes this

using the below to build

git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git
cd SoftEtherVPN
git submodule init && git submodule update
./configure
make -C build
make -C build install
# Software Configuration File
# ---------------------------
#
# You may edit this file when the VPN Server / Client / Bridge program is not running.
#
# In prior to edit this file manually by your text editor,
# shutdown the VPN Server / Client / Bridge background service.
# Otherwise, all changes will be lost.
#
declare root
{
        bool DontSavePassword false
        byte EncryptedPassword +WzqGYrR3VYXrAhKPZLGEHcIwO8=
        bool PasswordRemoteOnly false
        string UserAgent Mozilla/5.0$20(Windows$20NT$206.3;$20WOW64;$20rv:29.0)$20Gecko/20100101$20Firefox/29.0
        uint UseSecureDeviceId 0

        declare AccountDatabase
        {
        }
        declare ClientManagerSetting
        {
                bool EasyMode false
                bool LockMode false
        }
        declare CommonProxySetting
        {
                string ProxyHostName $
                uint ProxyPort 0
                uint ProxyType 0
                string ProxyUsername $
        }
        declare Config
        {
                bool AllowRemoteConfig true
                uint64 AutoDeleteCheckDiskFreeSpaceMin 104857600
                bool DisableRpcDynamicPortListener true
                bool EnableTunnelCrackProtect false
                string KeepConnectHost keepalive.softether.org
                uint KeepConnectInterval 50
                uint KeepConnectPort 80
                uint KeepConnectProtocol 1
                bool NoChangeWcmNetworkSettingOnWindows8 false
                bool UseKeepConnect false
        }
        declare RootCA
        {
        }
        declare UnixVLan
        {
        }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant