Why doesn't Softether VPN Client's vpncmd connect to a specified server?
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
add a comment |
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
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 performingaccountconnect
.
– grochmal
Jul 23 '17 at 19:22
add a comment |
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
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
linux ip vpn
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 performingaccountconnect
.
– grochmal
Jul 23 '17 at 19:22
add a comment |
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 performingaccountconnect
.
– 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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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