Why doesn't Softether VPN Client's vpncmd connect to a specified server?












1















I installed Softether on Linux Mint Sonya, ran sudo ./vpnclient start , then I ran sudo ./vpncmd and then, followed the instructions from
this tutorial



,pressing 2 for Management of a VPN client, then running remoteenable , then niccreate , "se" as adapter name, accountimport for the file from the tutorial(with changed-updated IP address and port, and changed japan0 name for japan4):



# VPN Client VPN Connection Setting File
#
# This file is exported using the VPN Client Manager.
# The contents of this file can be edited using a text editor.
#
# When this file is imported to the Client Connection Manager
# it can be used immediately.

declare root
{
bool CheckServerCert false
uint64 CreateDateTime 0
uint64 LastConnectDateTime 0
bool StartupAccount false
uint64 UpdateDateTime 0

declare ClientAuth
{
uint AuthType 0
string Username vpn
}
declare ClientOption
{
string AccountName japan4
uint AdditionalConnectionInterval 1
uint ConnectionDisconnectSpan 0
string DeviceName se
bool DisableQoS false
bool HalfConnection false
bool HideNicInfoWindow false
bool HideStatusWindow false
string Hostname 125.193.56.192
string HubName vpngate
uint MaxConnection 1
bool NoRoutingTracking false
bool NoTls1 false
bool NoUdpAcceleration false
uint NumRetry 4294967295
uint Port 1369
uint PortUDP 0
string ProxyName $
byte ProxyPassword $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
bool RequireBridgeRoutingMode false
bool RequireMonitorMode false
uint RetryInterval 15
bool UseCompress false
bool UseEncrypt true
}
}


till here, everything was OK, but then, when I type accountconnect and japan4 as the account name, and then type accountlist , it seems that the status of an account is always "connectING", not "connectED", as in the example in the tutorial, and the VPN doesn't work. I wanna know why? How can I set up my own account for a given server from this list, affiliated with official SoftEther creators , not importing accounts created by others? In general , how to connect this stuff?










share|improve this question


















  • 1





    Unfortunately there are several flavours of VPN out there, despite attempts to standardise things such as openVPN. The flavour used by your client seems rather odd (looking at the configuration file that is). On the other hand you can probably clarify the question by including the exact output that you get when performing accountconnect.

    – grochmal
    Jul 23 '17 at 19:22
















1















I installed Softether on Linux Mint Sonya, ran sudo ./vpnclient start , then I ran sudo ./vpncmd and then, followed the instructions from
this tutorial



,pressing 2 for Management of a VPN client, then running remoteenable , then niccreate , "se" as adapter name, accountimport for the file from the tutorial(with changed-updated IP address and port, and changed japan0 name for japan4):



# VPN Client VPN Connection Setting File
#
# This file is exported using the VPN Client Manager.
# The contents of this file can be edited using a text editor.
#
# When this file is imported to the Client Connection Manager
# it can be used immediately.

declare root
{
bool CheckServerCert false
uint64 CreateDateTime 0
uint64 LastConnectDateTime 0
bool StartupAccount false
uint64 UpdateDateTime 0

declare ClientAuth
{
uint AuthType 0
string Username vpn
}
declare ClientOption
{
string AccountName japan4
uint AdditionalConnectionInterval 1
uint ConnectionDisconnectSpan 0
string DeviceName se
bool DisableQoS false
bool HalfConnection false
bool HideNicInfoWindow false
bool HideStatusWindow false
string Hostname 125.193.56.192
string HubName vpngate
uint MaxConnection 1
bool NoRoutingTracking false
bool NoTls1 false
bool NoUdpAcceleration false
uint NumRetry 4294967295
uint Port 1369
uint PortUDP 0
string ProxyName $
byte ProxyPassword $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
bool RequireBridgeRoutingMode false
bool RequireMonitorMode false
uint RetryInterval 15
bool UseCompress false
bool UseEncrypt true
}
}


till here, everything was OK, but then, when I type accountconnect and japan4 as the account name, and then type accountlist , it seems that the status of an account is always "connectING", not "connectED", as in the example in the tutorial, and the VPN doesn't work. I wanna know why? How can I set up my own account for a given server from this list, affiliated with official SoftEther creators , not importing accounts created by others? In general , how to connect this stuff?










share|improve this question


















  • 1





    Unfortunately there are several flavours of VPN out there, despite attempts to standardise things such as openVPN. The flavour used by your client seems rather odd (looking at the configuration file that is). On the other hand you can probably clarify the question by including the exact output that you get when performing accountconnect.

    – grochmal
    Jul 23 '17 at 19:22














1












1








1








I installed Softether on Linux Mint Sonya, ran sudo ./vpnclient start , then I ran sudo ./vpncmd and then, followed the instructions from
this tutorial



,pressing 2 for Management of a VPN client, then running remoteenable , then niccreate , "se" as adapter name, accountimport for the file from the tutorial(with changed-updated IP address and port, and changed japan0 name for japan4):



# VPN Client VPN Connection Setting File
#
# This file is exported using the VPN Client Manager.
# The contents of this file can be edited using a text editor.
#
# When this file is imported to the Client Connection Manager
# it can be used immediately.

declare root
{
bool CheckServerCert false
uint64 CreateDateTime 0
uint64 LastConnectDateTime 0
bool StartupAccount false
uint64 UpdateDateTime 0

declare ClientAuth
{
uint AuthType 0
string Username vpn
}
declare ClientOption
{
string AccountName japan4
uint AdditionalConnectionInterval 1
uint ConnectionDisconnectSpan 0
string DeviceName se
bool DisableQoS false
bool HalfConnection false
bool HideNicInfoWindow false
bool HideStatusWindow false
string Hostname 125.193.56.192
string HubName vpngate
uint MaxConnection 1
bool NoRoutingTracking false
bool NoTls1 false
bool NoUdpAcceleration false
uint NumRetry 4294967295
uint Port 1369
uint PortUDP 0
string ProxyName $
byte ProxyPassword $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
bool RequireBridgeRoutingMode false
bool RequireMonitorMode false
uint RetryInterval 15
bool UseCompress false
bool UseEncrypt true
}
}


till here, everything was OK, but then, when I type accountconnect and japan4 as the account name, and then type accountlist , it seems that the status of an account is always "connectING", not "connectED", as in the example in the tutorial, and the VPN doesn't work. I wanna know why? How can I set up my own account for a given server from this list, affiliated with official SoftEther creators , not importing accounts created by others? In general , how to connect this stuff?










share|improve this question














I installed Softether on Linux Mint Sonya, ran sudo ./vpnclient start , then I ran sudo ./vpncmd and then, followed the instructions from
this tutorial



,pressing 2 for Management of a VPN client, then running remoteenable , then niccreate , "se" as adapter name, accountimport for the file from the tutorial(with changed-updated IP address and port, and changed japan0 name for japan4):



# VPN Client VPN Connection Setting File
#
# This file is exported using the VPN Client Manager.
# The contents of this file can be edited using a text editor.
#
# When this file is imported to the Client Connection Manager
# it can be used immediately.

declare root
{
bool CheckServerCert false
uint64 CreateDateTime 0
uint64 LastConnectDateTime 0
bool StartupAccount false
uint64 UpdateDateTime 0

declare ClientAuth
{
uint AuthType 0
string Username vpn
}
declare ClientOption
{
string AccountName japan4
uint AdditionalConnectionInterval 1
uint ConnectionDisconnectSpan 0
string DeviceName se
bool DisableQoS false
bool HalfConnection false
bool HideNicInfoWindow false
bool HideStatusWindow false
string Hostname 125.193.56.192
string HubName vpngate
uint MaxConnection 1
bool NoRoutingTracking false
bool NoTls1 false
bool NoUdpAcceleration false
uint NumRetry 4294967295
uint Port 1369
uint PortUDP 0
string ProxyName $
byte ProxyPassword $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
bool RequireBridgeRoutingMode false
bool RequireMonitorMode false
uint RetryInterval 15
bool UseCompress false
bool UseEncrypt true
}
}


till here, everything was OK, but then, when I type accountconnect and japan4 as the account name, and then type accountlist , it seems that the status of an account is always "connectING", not "connectED", as in the example in the tutorial, and the VPN doesn't work. I wanna know why? How can I set up my own account for a given server from this list, affiliated with official SoftEther creators , not importing accounts created by others? In general , how to connect this stuff?







linux ip vpn






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 23 '17 at 5:01









NiHao92NiHao92

113




113








  • 1





    Unfortunately there are several flavours of VPN out there, despite attempts to standardise things such as openVPN. The flavour used by your client seems rather odd (looking at the configuration file that is). On the other hand you can probably clarify the question by including the exact output that you get when performing accountconnect.

    – grochmal
    Jul 23 '17 at 19:22














  • 1





    Unfortunately there are several flavours of VPN out there, despite attempts to standardise things such as openVPN. The flavour used by your client seems rather odd (looking at the configuration file that is). On the other hand you can probably clarify the question by including the exact output that you get when performing accountconnect.

    – grochmal
    Jul 23 '17 at 19:22








1




1





Unfortunately there are several flavours of VPN out there, despite attempts to standardise things such as openVPN. The flavour used by your client seems rather odd (looking at the configuration file that is). On the other hand you can probably clarify the question by including the exact output that you get when performing accountconnect.

– grochmal
Jul 23 '17 at 19:22





Unfortunately there are several flavours of VPN out there, despite attempts to standardise things such as openVPN. The flavour used by your client seems rather odd (looking at the configuration file that is). On the other hand you can probably clarify the question by including the exact output that you get when performing accountconnect.

– grochmal
Jul 23 '17 at 19:22










1 Answer
1






active

oldest

votes


















0














In the config, it appears that there is no password set. I am assuming that you have set the password in the client before connecting.



Based on the documentation, it seems that, only, Windows is supported as it requires the vpn gate plugin.



Easiest way I have found, in general, is to use SoftEther client to set up a working connection in Windows. Using the SoftEther vpn client (GUI) for windows can be helpful in exporting the config file from it. Then use the config file in Linux. That way you can exclude the config file as an issue. The SoftEther client for Windows resolves some of these things itself.






share|improve this answer





















  • 3





    Um, SoftEther runs on Synology routers (Linux), and I've connected with a Linux client without problems. While the source certainly looks Windows-oriented, "only Windows is supported" is definitely false.

    – dirkt
    Sep 21 '18 at 15:48











  • I'm aware and I've used SoftEther on Linux too. However on the VPN Gate website, it does not provide instructions to use SoftEther client on Linux. Will edit my answer to reflect that.

    – mirmo
    Sep 21 '18 at 16:03











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381203%2fwhy-doesnt-softether-vpn-clients-vpncmd-connect-to-a-specified-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














In the config, it appears that there is no password set. I am assuming that you have set the password in the client before connecting.



Based on the documentation, it seems that, only, Windows is supported as it requires the vpn gate plugin.



Easiest way I have found, in general, is to use SoftEther client to set up a working connection in Windows. Using the SoftEther vpn client (GUI) for windows can be helpful in exporting the config file from it. Then use the config file in Linux. That way you can exclude the config file as an issue. The SoftEther client for Windows resolves some of these things itself.






share|improve this answer





















  • 3





    Um, SoftEther runs on Synology routers (Linux), and I've connected with a Linux client without problems. While the source certainly looks Windows-oriented, "only Windows is supported" is definitely false.

    – dirkt
    Sep 21 '18 at 15:48











  • I'm aware and I've used SoftEther on Linux too. However on the VPN Gate website, it does not provide instructions to use SoftEther client on Linux. Will edit my answer to reflect that.

    – mirmo
    Sep 21 '18 at 16:03
















0














In the config, it appears that there is no password set. I am assuming that you have set the password in the client before connecting.



Based on the documentation, it seems that, only, Windows is supported as it requires the vpn gate plugin.



Easiest way I have found, in general, is to use SoftEther client to set up a working connection in Windows. Using the SoftEther vpn client (GUI) for windows can be helpful in exporting the config file from it. Then use the config file in Linux. That way you can exclude the config file as an issue. The SoftEther client for Windows resolves some of these things itself.






share|improve this answer





















  • 3





    Um, SoftEther runs on Synology routers (Linux), and I've connected with a Linux client without problems. While the source certainly looks Windows-oriented, "only Windows is supported" is definitely false.

    – dirkt
    Sep 21 '18 at 15:48











  • I'm aware and I've used SoftEther on Linux too. However on the VPN Gate website, it does not provide instructions to use SoftEther client on Linux. Will edit my answer to reflect that.

    – mirmo
    Sep 21 '18 at 16:03














0












0








0







In the config, it appears that there is no password set. I am assuming that you have set the password in the client before connecting.



Based on the documentation, it seems that, only, Windows is supported as it requires the vpn gate plugin.



Easiest way I have found, in general, is to use SoftEther client to set up a working connection in Windows. Using the SoftEther vpn client (GUI) for windows can be helpful in exporting the config file from it. Then use the config file in Linux. That way you can exclude the config file as an issue. The SoftEther client for Windows resolves some of these things itself.






share|improve this answer















In the config, it appears that there is no password set. I am assuming that you have set the password in the client before connecting.



Based on the documentation, it seems that, only, Windows is supported as it requires the vpn gate plugin.



Easiest way I have found, in general, is to use SoftEther client to set up a working connection in Windows. Using the SoftEther vpn client (GUI) for windows can be helpful in exporting the config file from it. Then use the config file in Linux. That way you can exclude the config file as an issue. The SoftEther client for Windows resolves some of these things itself.







share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 22 '18 at 6:03

























answered Sep 21 '18 at 15:21









mirmomirmo

212




212








  • 3





    Um, SoftEther runs on Synology routers (Linux), and I've connected with a Linux client without problems. While the source certainly looks Windows-oriented, "only Windows is supported" is definitely false.

    – dirkt
    Sep 21 '18 at 15:48











  • I'm aware and I've used SoftEther on Linux too. However on the VPN Gate website, it does not provide instructions to use SoftEther client on Linux. Will edit my answer to reflect that.

    – mirmo
    Sep 21 '18 at 16:03














  • 3





    Um, SoftEther runs on Synology routers (Linux), and I've connected with a Linux client without problems. While the source certainly looks Windows-oriented, "only Windows is supported" is definitely false.

    – dirkt
    Sep 21 '18 at 15:48











  • I'm aware and I've used SoftEther on Linux too. However on the VPN Gate website, it does not provide instructions to use SoftEther client on Linux. Will edit my answer to reflect that.

    – mirmo
    Sep 21 '18 at 16:03








3




3





Um, SoftEther runs on Synology routers (Linux), and I've connected with a Linux client without problems. While the source certainly looks Windows-oriented, "only Windows is supported" is definitely false.

– dirkt
Sep 21 '18 at 15:48





Um, SoftEther runs on Synology routers (Linux), and I've connected with a Linux client without problems. While the source certainly looks Windows-oriented, "only Windows is supported" is definitely false.

– dirkt
Sep 21 '18 at 15:48













I'm aware and I've used SoftEther on Linux too. However on the VPN Gate website, it does not provide instructions to use SoftEther client on Linux. Will edit my answer to reflect that.

– mirmo
Sep 21 '18 at 16:03





I'm aware and I've used SoftEther on Linux too. However on the VPN Gate website, it does not provide instructions to use SoftEther client on Linux. Will edit my answer to reflect that.

– mirmo
Sep 21 '18 at 16:03


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381203%2fwhy-doesnt-softether-vpn-clients-vpncmd-connect-to-a-specified-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?