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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
wireguard vpn on 128mb
This discussion was created from comments split from: why there are providers who have 512m memory VPS?.
Comments
i never success to make wireguard vpn on 128mb and i have another 256mb NAT, can you show me how to tunning it to install wireguard?
What kind of error are you facing?
wireguard-go can run just fine with 128mb ram, on openvz vps.
https://d.sb/2019/07/wireguard-on-openvz-lxc
I'm pretty sure it'll work on KVM too but OP rather spent his time asking the same question in like 5 threads than to actually specify what's erroring out on him.
@Nyr 's script works for me on a 64mb (with swap) debian 11 ovz and 128mb (no swap) debian 12 ovz: https://github.com/Nyr/wireguard-install
(uses BoringTun on ovz and lxc)
You also have: https://github.com/hwdsl2/wireguard-install
Playing with 128MB RAM is always fun, with bloody pain though. Even a 64-bit binary compiled from Golang can hardly fit into such tiny box, but luckily, we still have Monoose to serve the Internet.
I have a 64MB MicroNode container running WireGuard with boringtun-cli userspace implementation.
The OS template is Ubuntu 22.04 with non-essential services disabled.
This does come with some swap, which is needed during APT upgrade, but not during normal operation.
I have a 128MB microLXC container running WireGuard kernel module configured via Netplan.io, which is more efficient at runtime.
The OS template is Ubuntu 22.04 with no customization.
The same server runs Caddy, a 64-bit Go program, as reverse proxy.
It does take up 15MB of memory, but that only accounts for a small portion of the available RAM.
You may encounter kernel not supporting Wireguard because in Nat services, providers usually heavily trim the kernel modules and your only hope maybe running Wireguard in userspace.