balena-wireguard icon indicating copy to clipboard operation
balena-wireguard copied to clipboard

Can this be configure to join as peer?

Open cedricve opened this issue 2 years ago • 7 comments

Hey there, is there a possibility to configure this as a peer instead of the Wireguard server?

cedricve avatar Nov 23 '23 12:11 cedricve

Unfortunately not with this entrypoint script.

The dependencies in the Dockerfile would be unchanged but you would need a different set of configuration and startup steps (probably much simpler) that this project does not currently support.

If you find the required steps to join as a peer and want to open a PR I would be happy to look at it with you!

klutchell avatar Nov 23 '23 18:11 klutchell

Yes would love to do it! Let me come back with a plan/suggestion. Thanks @klutchell !

cedricve avatar Nov 23 '23 19:11 cedricve

PS: why didn't you upload it to your Balena hub? :P

cedricve avatar Nov 23 '23 19:11 cedricve

PS: why didn't you upload it to your Balena hub? :P

Good question! I think because I'm not actively maintaining it at the moment so I didn't want an influx of users looking for support and features?

That said, I would be happy to support you as a contributor and clean up the project in the process. I just happen to use tailscale as my primary VPN now and don't have use for manual wireguard configuration.

klutchell avatar Nov 23 '23 19:11 klutchell

that's cool! Does this one acts as a subnet gateway? As what I'm proposing in this issue

cedricve avatar Nov 23 '23 20:11 cedricve

yes, the tailscale client can act as a subnet gateway with the correct flags applied

klutchell avatar Nov 23 '23 20:11 klutchell

I'm currently using Netmaker which is self-hosted, I just read about headscale. Will give it some thoughts! ;) Thanks for the discussion

cedricve avatar Nov 23 '23 20:11 cedricve