SierraSoftworks / tailscale-udm

Run Tailscale on your Unifi Dream Machine
MIT License
645 stars 39 forks source link

support for UDR #31

Closed Serpentiel closed 1 year ago

Serpentiel commented 1 year ago

hey 👋

UDR is a little bit different than UDM, but I believe it should be pretty straightforward to support it, too

please see https://github.com/WireGuard/wireguard-vyatta-ubnt for reference, I believe the key difference is the directory tree

thank you!

notheotherben commented 1 year ago

Hey there @Serpentiel, we currently build on top of the unifi-utilities/unifios-utilities on_boot_script.d module to provide this functionality for UDM/UDMP. I noticed that there's an outstanding issue (unifi-utilities/unifios-utilities#375) regarding installation on the UDR.

Without a UDR to test against, it's a bit tricky for me to figure out what the necessary directory tree changes - and the repository you've linked takes the approach of building a full deb for these targets, which is something Tailscale hasn't (yet) done, and the reason why this repo exists 😄.

Serpentiel commented 1 year ago

thank you for your quick response!

I see how it is, let's hope unifi-utilities/unifios-utilities adds support for it!

you're also very welcome to ask me to try things out just in case, I have a UDR over here :)

lbreggi commented 1 year ago

I can share my UDR too! or I can help to build under some guidence. thanks!

epiclulz666 commented 1 year ago

i can also provide any testing needed or info needed for the UDR i own 3

notheotherben commented 1 year ago

Hi @Serpentiel, @lbreggi, and @epiclulz666 - you'll find a first pass at adding this functionality on #33 along with steps to test that it works before I land this in the mainline release. If you're able to give those steps a try and report any issues, that'd be amazing :)