Closed M1ch43lV closed 1 year ago
also add an information to the install script for raspibolt users to change the listen
directive in the lnd.conf to 0.0.0.0
Many big thanks to ziggie1984 to get this little tiny piece of information out of the big system!!!!
Problem: Standard WireGuard installation is not working on a v-linux server based on openVZ/lxc virtualisation platform (like strato.de), because the VM system does not allow the installation of additional Linux kernel modules, which is essential for WireGuard to work. Solution: However, the use of wireguard-go allows to run WireGuard on a user level without the need of kernel modules. It is a bit slower but fast enough for lightning node. Wireguard-go is written by the same team which writes WireGuard. Here is a link https://d.sb/2019/07/wireguard-on-openvz-lxc how to install the newest version of wireguard-go.
The command to check for modules with the command
modprobe cls_group
in virtualized environments should be removed, cause it produced an error, therefore aborting the loading of wireguard.Recommendation to correct two small minor bugs of the script:
ip route
reports an empty response for subnets, then the wireguard configuration tunneslsatsv2.conf should omitip daddr != {$localNetworks}
in the command line forPostUp = nft add chain ip %i nat ...
setting up the NAT. If the variable$localNetworks
is empty then wireguard reports a syntax error and stops loading.