Howdy, Stranger!

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


Autoinstall Wireguard Bash Scripts - Page 2
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.

Autoinstall Wireguard Bash Scripts

2»

Comments

  • @MrPsycho said:

    ofit said: OVZ6 and OVZ7

    From the website:

    WireGuard lives inside the Linux kernel means that secure networking can be very high-speed.

    I don't think it will work on any shared kernel virtualization, because WireGuard tinkers with kernel. Haven't tried myself tho. Please take a look at tinc, it has slightly more overhead than wireguard, but it's by far more elastic and has automatic network discovery. Moreover it automagically can route traffic via interconnections if direct connection is not possible. I wrote an article how to set it up (check links in my signature) and I'm donating monthly to tinc. It's a great piece of software.

    Wireguard-go works great on ovz7, and I have had success using it on ovz6 as well. Just takes more manual configuration and can't use wg-quick but have to use wg instead.

    Thanked by 2MrPsycho vimalware
  • Daniel15Daniel15 Veteran
    edited July 2019

    I got WireGuard running on a MrVM OpenVZ VPS running Debian. Wrote a very basic post about it here: https://d.sb/2019/07/wireguard-on-openvz-lxc. Basically you just need to compile wireguard-go and modify wg-quick's systemd unit to add Environment=WG_I_PREFER_BUGGY_USERSPACE_TO_POLISHED_KMOD=1 (otherwise wireguard-go just quits when you run it), but then it all works fine. Instructions are in the post.

    I used to use Tinc, but WireGuard is faster and has much lower CPU usage. There's still some features of Tinc I miss, like automatic discovery of other peers. With WireGuard I had to configure all peers manually.

    t0ny0 said: can't use wg-quick but have to use wg instead.

    wg-quick works fine with wireguard-go... It has code to fall back to wireguard-go if the kernel module isn't installed: https://git.zx2c4.com/WireGuard/tree/src/tools/wg-quick/linux.bash#n89. You can also manually set the environment variable WG_QUICK_USERSPACE_IMPLEMENTATION=wireguard-go.

    Thanked by 1saibal
  • ofitofit Member

    anyone use qomui app https://github.com/corrad1nho/qomui for Wireguard on linux?

Sign In or Register to comment.