Page 1 of 1
vpnserver 100% CPU usage
Posted: Fri Jan 03, 2014 10:28 am
by myopenid
The vpnserver is installed on a Ubuntu 13.04(32bit) VPS. A Windows client is connected to the vpnserver via L2TP/IPSec with SecureNAT enabled at the vpnserver to connect to the internet. With just one VPN session, vpnserver shoots up to 100% CPU and then the VPN session times out. Why is vpnserver using so much CPU at kernel space?
Attached is output of 'top'.
Edit: Apparently this is due to SecureNAT, nothing can be done about it.
Re: vpnserver 100% CPU usage
Posted: Fri Jan 03, 2014 8:51 pm
by UkrZilla
You have to create local bridge with real netcard and use NAT on hardware router.
Re: vpnserver 100% CPU usage
Posted: Fri Jan 17, 2014 6:54 pm
by yoeluk
I have the same problem and over and over again I find the same answer. What really puzzles me is why did the creators bother with providing this optional set up.
In particular it bothers me that every installation guide suggests this option since it is easier (like in my case configuring a bridge isn't trivial due to the configuration of the existing network were my server live) then I find that enabling secureNat completely killed the cpu.
Some forum emphasise that this happens only if bridge and securedNat are simultaneously enable yet that's not true - securedNat alone killed the cpu with only one connection like this post says.
The conclusion I arrived is to stay away from this software. You will be better off investing time installing and configuring other proven solutions like openvpn.
Re: vpnserver 100% CPU usage
Posted: Mon Feb 17, 2014 4:23 am
by FikryAns
myopenid wrote:
> The vpnserver is installed on a Ubuntu 13.04(32bit) VPS. A Windows client
> is connected to the vpnserver via L2TP/IPSec with SecureNAT enabled at the
> vpnserver to connect to the internet. With just one VPN session, vpnserver
> shoots up to 100% CPU and then the VPN session times out. Why is vpnserver
> using so much CPU at kernel space?
>
> Attached is output of 'top'.
>
> Edit: Apparently this is due to SecureNAT, nothing can be done about it.
Re: vpnserver 100% CPU usage
Posted: Thu Mar 19, 2015 12:03 pm
by abdullah2