nix-bitcoin
nix-bitcoin copied to clipboard
Wireguard Client
hi,
i heard about the project at the recent Nodesignal Podcast Episode. I really like what i've seen so far and looking forward to give it a try at my proxmox.
is there a module that will allow me to connect nix to a wireguardserver (running on a vps)? something like this: https://github.com/TrezorHannes/vps-lnbits-wg
so running cln-rest or lnbits over clearnet vps adress
You could include Wireguard in your configuration.nix from nixpkgs. A good starting point would the the nixos.wiki.
Sounds like you're just forwarding requests from ports on a server to your node, which should be fine. You'll at least need to open the ports on the nix-bitcoin firewall.
I'd recommend hopping into the matrix chat if you've got further support questions, the folks there are pretty responsive.
@btchans Hi!
is there a module that will allow me to connect nix to a wireguardserver (running on a vps)?
Yes, as @bleetube pointed out you can just use the wireguard module as explained in the nixos wiki. We also have instructions for running a wireguard server on nix-bitcoin and connect mobile Zeus to it:
https://github.com/fort-nix/nix-bitcoin/blob/9d9925621a6b32ca9548e5afc6b31146ef5a6504/docs/services.md#use-zeus-mobile-lightning-wallet-via-wireguard