Slow connection using SoftEther

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
niko0o
Posts: 5
Joined: Fri Aug 28, 2015 6:35 am

Slow connection using SoftEther

Post by niko0o » Fri Aug 28, 2015 6:47 am

Hello,

I'm trying to install SoftEther to one computer in our office, so we can connect to our ERP running in local server from field. I cant make connection fast enough, it takes few minutes to open ERP after connection, and if I'll try to tracert for http://www.google.com same time when trying to open ERP, ping times are about 500-2000ms per connection (see attached screenshot). I've opened all required ports from routers firewall, and disabled firewall from computer. I've tried to add 16 TCP connections from VPN client, and tried half-duplex mode, but no effect. I'm able to connect to SMB share from our server.

What should I do to make connection faster? There will be only ~5 users, and 1 or 2 at same time.
You do not have the required permissions to view the files attached to this post.

ca3
Posts: 6
Joined: Sat Aug 29, 2015 1:30 am

Re: Slow connection using SoftEther

Post by ca3 » Sat Aug 29, 2015 2:40 am

Hi there,
As you're likely aware, this project as ran by the community. Due to this, speeds may differ and are out of our control. You're likely picking a proxy with either a slow connection, or a high ping. It's always recommended you select a server with a low latency (ping), and a fast internet connection speed.

If the proxy has gigabit (1024Mbps) connection, but a 5,000MS ping (5 second) it is considered extremely slow, and not fit for usage*. Similarly, if a proxy has a 0.01Mbps connection and a 1MS ping (0.001 seconds) it is considered extremely slow, and not fit for usage*.

*Technically speaking, this proxy is able to support internet usage- however, it will take a long time to load anything.

--

You should select a proxy with low ping (the lower, the better) and a decent connection. If your office only has a 20Mbps connection, it's pointless to use a 1024Mbps proxy; instead, use something that's 25Mbps with low ping. (5Mbps for other internet users).

--
If you're still having issues and wish for a higher privacy (this project was made for censorship, not privacy), consider buying a VPS and configuring OpenVPN on port 433. I would personally recommend DigitalOcean.

niko0o
Posts: 5
Joined: Fri Aug 28, 2015 6:35 am

Re: Slow connection using SoftEther

Post by niko0o » Mon Aug 31, 2015 1:05 pm

I have not set proxy at all, I have only VPN server running at office, and client installed in my own computer. I noticed that this probably is caused by Windows's shared folder, those are loading slowly, I have stable connection if I make RDP connection to another server running at office, and I'm able to use our ERP via RDP

Any ideas how to make connection to folder shares (SMB if I understood right, shares are in 2012R2 server?) faster?

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Slow connection using SoftEther

Post by kh_tsang » Mon Aug 31, 2015 4:58 pm

Firstly, what is the latency without connecting the VPN?
Secondly, what is the CPU usage when the VPN is connected?
Thirdly, are you using SecureNAT?

niko0o
Posts: 5
Joined: Fri Aug 28, 2015 6:35 am

Re: Slow connection using SoftEther

Post by niko0o » Tue Sep 01, 2015 11:20 am

1. tracert from client to www.google.com without VPN: https://dl.dropboxusercontent.com/u/596 ... lient3.PNG
tracert from client to google with VPN but without connecting to SMB share: https://dl.dropboxusercontent.com/u/596 ... lient2.PNG

tracert from server to google with VPN enabled: https://dl.dropboxusercontent.com/u/596 ... erver2.PNG
tracert from server to google without VPN: https://dl.dropboxusercontent.com/u/596 ... erver3.PNG

2. CPU usage in server when VPN is connected: https://dl.dropboxusercontent.com/u/596 ... erver1.PNG
CPU usage in client when VPN is connected: https://dl.dropboxusercontent.com/u/596 ... lient1.PNG

3. I'm not using SecureNAT

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Slow connection using SoftEther

Post by kh_tsang » Wed Sep 02, 2015 4:26 am

Do you mean the connection is slow when files are being transferred?

Can you show the CPU and network usage of the client and the server when transferring files?

niko0o
Posts: 5
Joined: Fri Aug 28, 2015 6:35 am

Re: Slow connection using SoftEther

Post by niko0o » Wed Sep 02, 2015 11:27 am

Our ERP is located in SMB share, so when I'll try to open it while using VPN, all connections from client goes slow, and ERP is almost unusable. When I quit ERP , connection is stable again, and I can use internet or RDP connection again. I think ERP accesses too many files from SMB share same time, and makes connection unstable. But there ain't such problem when using it from LAN.

Client when using SMB share: https://dl.dropboxusercontent.com/u/596 ... ntsmb1.PNG
Server when using SMB share: https://dl.dropboxusercontent.com/u/596 ... ersmb1.PNG

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Slow connection using SoftEther

Post by kh_tsang » Wed Sep 02, 2015 3:38 pm

Is it some problem about the bandwidth?

Can you measure the throughput?

niko0o
Posts: 5
Joined: Fri Aug 28, 2015 6:35 am

Re: Slow connection using SoftEther

Post by niko0o » Thu Sep 03, 2015 10:59 am

How can I measure it? We have 24/1 line in our office, but as RDP connection is possible, I think it should be enough.

I'll try with faster connection tomorrow, when I have another physical computer to test with.

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

Re: Slow connection using SoftEther

Post by thisjun » Wed Sep 16, 2015 8:19 am

Is your problem that slowing ping to google?
If so, please try to increase a metric value of the virtual NIC in client.

Post Reply