can't connect as vpn client linux

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
toor
Posts: 4
Joined: Mon Jul 04, 2016 10:34 am

can't connect as vpn client linux

Post by toor » Mon Jul 04, 2016 10:52 am

Hi,

I have successfully created SoftEther VPN server @ ubuntu 14.04 LTS x64, I'm able to make connection with android device - works like a charm!
Version 4.20 Build 9608 (English)

Problem occurs when I try to connect to it with vpnclient for linux.
Client is ubuntu 16.04 LTS x64.
First I do:
sudo ./vpnclient start
SoftEther VPN Client service has been already started.
Run the "vpnclient stop" command to stop this service.

Then:
sudo ./vpncmd
2. Management of VPN Client
I get error:
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.

And than I tried few combinations:
ip_address
ip_address:port
hostname
hostname:port
DDNShostname
DDNShostname:port

Tried all ports (443, 992, 1194, 5555).

Next I tried to:
restart server
restart vpnclient
checked using telnet if I can connect to all ports - yep! that also works.
At the end I tried and installed SoftEther VPN server at different machine/location/ip - result is the same - Android connected but no vpn client linux connection.

I'm attaching server configuration without passwords and IPs.
Here's my VPN server ifconfig without ip address:
eth0 Link encap:Ethernet HWaddr 52:54:00:55:a7:b9
inet addr: Bcast:255.255.248.0 Mask:255.255.248.0
inet6 addr:
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:73102 errors:0 dropped:0 overruns:0 frame:0
TX packets:21647 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:104030681 (104.0 MB) TX bytes:2746672 (2.7 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1113 errors:0 dropped:0 overruns:0 frame:0
TX packets:1113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13193103 (13.1 MB) TX bytes:13193103 (13.1 MB)


Any suggestions please?
You do not have the required permissions to view the files attached to this post.

toor
Posts: 4
Joined: Mon Jul 04, 2016 10:34 am

Re: can't connect as vpn client linux

Post by toor » Mon Jul 04, 2016 4:12 pm

So I created another server, this time with Ubuntu 14.04 LTS and I used the newest VPN server and client: Ver 4.21, Build 9613, beta

And I have exactly same situation:
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.

This time I'm trying from another 16.04 LTS client computer.
Telnet says that all ports are open and connectible.

Server log shows only something like this (I cleared my IP and hostname and purpose) :
2016-07-04 18:18:44.646 On the TCP Listener (Port 5555), a Client (IP address , Host name "", Port number 36172) has connected.
2016-07-04 18:18:44.646 For the client (IP address: , host name: "", port number: 36172), connection "CID-6" has been created.
2016-07-04 18:19:34.048 Connection "CID-6" has been terminated.
2016-07-04 18:19:34.048 The connection with the client (IP address , Port number 36172) has been disconnected.

Client's log shows only initiation information of "vpnclient start", not a word about lost connections.

Either way something broken with client or I'm doing something wrong - what would that be?

toor
Posts: 4
Joined: Mon Jul 04, 2016 10:34 am

Re: can't connect as vpn client linux

Post by toor » Mon Jul 04, 2016 7:45 pm

Strace shows this:
http://pastebin.com/QhnNWS2A

I think it's about this to be exact:
-1 EAGAIN (Resource temporarily unavailable)

any suggestions?

toor
Posts: 4
Joined: Mon Jul 04, 2016 10:34 am

Re: can't connect as vpn client linux

Post by toor » Tue Jul 05, 2016 7:48 am

So, I would say this was a problem:
https://www.softether.org/4-docs/1-manu ... nder_Linux.

Not to fight with static routing easier solution is to enable OpenVPN Clone function and you can easily connect from linux with native OpenVPN client :)

Cheers!

raafat
Posts: 223
Joined: Fri Jul 03, 2015 2:21 pm

Re: can't connect as vpn client linux

Post by raafat » Tue Jul 05, 2016 7:44 pm

Hi there, i would really suggest to stick with SE client for linux instead of OpenVPN client, check again you setup and configuration and may be this time you can get more help, trust me on that point (:.



Good luck (:

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

Re: can't connect as vpn client linux

Post by thisjun » Fri Jul 22, 2016 1:12 am

First of all, you should connect to VPN client to manage VPN client.
I think you try to connect to server IP address with VPN client manager.

Post Reply