this post was submitted on 21 Jan 2024
20 points (91.7% liked)

Selfhosted

40183 readers
850 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hello selfhosters,

I recently moved to a new place with faster internet (320/130 Mbps) and now I see that VPN is limiting my torrent speed.

I was testing multiple AirVPN (wireguard) servers and I'm getting 80-120 Mbps on speedtest-cli, but in torrents it goes bit higher to about 180-200 Mbps. I usually use it trought gluetun container, but was also testing with eddie-cli and I get pretty much the same results.

I was reading that people get 600 Mbps and even 1+ Gbps on AirVPN. What is your experience? If this is AirVPN limit, what would you suggest as alternative with port forwarding to saturate my bandwidth? I can live with these speeds, just want to check if there is better alternative or something missconfigured on my side.

Cheers

top 14 comments
sorted by: hot top controversial new old
[–] ArbiterXero@lemmy.world 14 points 9 months ago (1 children)

While this is conclusively stoned as “cpu” issues, in case anyone else finds this thread…

While your isp can’t read the data over the VPN, they CAN see that you’re using a VPN and intentionally slow down your connection with traffic shaping because you’re putting so much data through the vpn.

[–] rambos@lemm.ee 3 points 9 months ago

Oh good to know

[–] ChrislyBear@lemmy.world 14 points 10 months ago (1 children)

VPN limiting your bandwidth? Sounds like a CPU issue. You'll be surprised how much CPU overhead it takes to encrypt and decrypt traffic at such high speeds.

[–] rambos@lemm.ee 7 points 9 months ago

Yeah this seems right. My CPU utilization goes to 100% during speedtest and I have celeron 😆 Thank you!

[–] LodeMike@lemmy.today 3 points 10 months ago (1 children)

Bro if you need rediculous speeds like that get a seed box. 200+ is more than enough and you’ll likely cap out on CPU/thread utilization after that.

[–] rambos@lemm.ee 4 points 9 months ago* (last edited 9 months ago) (1 children)

I don't need, but wasn't sure am I using full capacity of what I'm paying for and want to learn more. This is my hobby, I enjoy setting up things more than using the server lol edit: and yeah feels like CPU capped

[–] darelik@lemmy.world 2 points 9 months ago

I enjoy setting up things more than using the server lol

Also me in life, in games.. I like min-maxing, making it as efficient as things will allow.

So I asked chatgpt what professions would be best for a person like that and from the 10 answers it spat out, surprise surprise, I've worked as 2 out of the top 3.

[–] narc0tic_bird@lemm.ee 2 points 9 months ago (1 children)

Use Wireguard instead of OpenVPN.

[–] rambos@lemm.ee 1 points 9 months ago

I am, but as others said I think my CPU cant handle it

[–] Toes@ani.social 2 points 9 months ago (1 children)

You mentioned that your cpu is getting maxed out on wireguard. That makes a lot of sense since it's generally not hardware accelerated, old low end CPUs could struggle here.

What choices do you have for protocols with your VPN software?

Try AES128 UDP mode with openVPN.

[–] rambos@lemm.ee 2 points 9 months ago (1 children)

I want to use glueten container, but I'm flexible about everything else. I can try openVPN server, but not sure what AES128 means (I know its some kind of encryption, but don't know how to use that in my case). There are many different servers to chose, Ill try few with UDP openVPN. thanks

[–] Toes@ani.social 1 points 9 months ago (1 children)

Ok in that case. The goal is to use a cipher suite that works well on your device that is still secure. AES is accelerated on most processors these days. But you'll want to confirm that by looking up your specific cpu (both host and client machines!) and checking for AES acceleration.

AES-128-GCM would be my suggestion.

UDP mode provides less overhead, so it should be faster for you.

Alternatively you could use IPsec instead of openvpn but that's a chore to configure. But it has the benefit of being free and being natively supported by many devices.

You would still want to configure an appropriate cipher suite that's fast and secure.

[–] rambos@lemm.ee 1 points 9 months ago (1 children)

My CPU (g3930) supports Intel AES New Instructions if thats it. Ill look more into it, thank you

[–] Toes@ani.social 1 points 9 months ago* (last edited 9 months ago)

Yeah give that a go. Glad to help 🙂