Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Minimum RAM for Nyr-Wireguard?

ArkasArkas Member, Retired Moderator

What is the least amount of RAM that you have used for a working VPN using this:?
https://github.com/Nyr/wireguard-install

I have it running fine on 768MB, but for some reason even though it installs fine on 500MB and there is even free memory I can't get it to work, it keeps disconnecting. I have tried it on 2 different VPSs with 500MB RAM (KVM) and it's a no go.

Comments

  • Reserve 1MB ram for 2Mbps and you should be safe. Don't overthink, save your sanity.

  • NeoonNeoon Community Contributor, Veteran

    wireguard itself works fine on 128MB machines, even KVM.
    Its likely an installer problem.

  • ArkasArkas Member, Retired Moderator

    @LTniger said: Reserve 1MB ram for 2Mbps and you should be safe. Don't overthink, save your sanity.

    Yeah, thanks. It's driving me nuts. I must be doing something wrong in the setup process. :anguished:

  • Wireguard working fine with me on 128MB NAT machine

  • ArkasArkas Member, Retired Moderator

    @vlogyhub said: Wireguard working fine with me on 128MB NAT machine

    Did you use the Nyr script or did you install wireguard manually?

  • Thanked by 1Arkas
  • NyrNyr Community Contributor, Veteran

    @Arkas said: I have it running fine on 768MB, but for some reason even though it installs fine on 500MB and there is even free memory I can't get it to work, it keeps disconnecting. I have tried it on 2 different VPSs with 500MB RAM (KVM) and it's a no go.

    Nothing to do with RAM. Bot WireGuard and my installer use VERY little RAM, specially on Debian/Ubuntu.

    @Arkas said: Did you use the Nyr script or did you install wireguard manually?

    My installer will work fine in Debian with those specs.

  • ArkasArkas Member, Retired Moderator

    @Nyr said: My installer will work fine in Debian with those specs.

    Thanks for the reply. I reinstalled Debian 11 and will try it again.
    Thanks!

    Thanked by 1Ympker
  • I use 128MB ram on my VPS.

    I think I can run Linux with Wireguard as well on 64MB

    Thanked by 1Arkas
  • Working fine for me in 64MB VPS using Nyr’s script.

  • runs fine on my 512 MB ram KVM VPS.

  • @Arkas said:
    What is the least amount of RAM that you have used for a working VPN using this:?
    https://github.com/Nyr/wireguard-install

    I have it running fine on 768MB, but for some reason even though it installs fine on 500MB and there is even free memory I can't get it to work, it keeps disconnecting. I have tried it on 2 different VPSs with 500MB RAM (KVM) and it's a no go.

    Uh, what do the logs show?

  • ManishPantManishPant Member, Host Rep

    Nyr script works fine for me on microlxc tiny package

  • ArkasArkas Member, Retired Moderator

    So it looks like for some reason the provider has blocked many ports by default and I wasn't aware of that. I opened a ticket to ask why this was like this by default, I've never encountered this before. These are old VMs, I've had them since 2017 and I renew them each year by default they are very cheap.

  • Mine works well on 64mb ram

    Thanked by 1jwg29859
  • ArkasArkas Member, Retired Moderator

    @comXyz said: Mine works well on 64mb ram

    That's amazing!

  • @jmaxwell said:
    Working fine for me in 64MB VPS using Nyr’s script.

    @comXyz said:
    Mine works well on 64mb ram

    How much swap do you guys use?

  • i run it on 256mb webhorizon nat vps, install wireguard and openvpn too.

    Thanked by 1Logano
  • ArkasArkas Member, Retired Moderator

    @abangnoob said: i run it on 256mb webhorizon nat vps, install wireguard and openvpn too.

    IPv6 only?

  • @Arkas said:
    IPv6 only?

    nat ipv4, i choose port wireguard and openvpn from what port they open to me.

    Thanked by 2Arkas Logano
  • sh97sh97 Member, Host Rep

    Works well on my 64mb ram, 2gb storage nat :smiley:

    Thanked by 2Logano Void
  • Works fine on 128mb ram, 2gb storage.

    Thanked by 1Logano
  • @Arkas said:

    @vlogyhub said: Wireguard working fine with me on 128MB NAT machine

    Did you use the Nyr script or did you install wireguard manually?

    Yes, I used Nyr Script for Wireguard setup.

    Thanked by 1Arkas
  • @jwg29859 said:

    @jmaxwell said:
    Working fine for me in 64MB VPS using Nyr’s script.

    @comXyz said:
    Mine works well on 64mb ram

    How much swap do you guys use?

    256MB

    Thanked by 1jwg29859
  • Which is the best OS to install wireguard? Ubuntu or Debian? Which version?

    Sorry if this sounds stupid, but I am new to linux.

  • @shajeeafzal said:
    Which is the best OS to install wireguard? Ubuntu or Debian? Which version?

    Sorry if this sounds stupid, but I am new to linux.

    Debian 11 or 10. Any Debian based distro (like Ubuntu) would work fine though.

    Thanked by 1shajeeafzal
  • @shajeeafzal said:
    Which is the best OS to install wireguard? Ubuntu or Debian? Which version?

    Sorry if this sounds stupid, but I am new to linux.

    Select Debian. It is more lightweight than Ubuntu.

    Thanked by 1shajeeafzal
Sign In or Register to comment.