{"id":18289171,"url":"https://github.com/cmsj/udm-se","last_synced_at":"2026-03-19T03:43:37.286Z","repository":{"id":145774185,"uuid":"553052333","full_name":"cmsj/udm-se","owner":"cmsj","description":"Various modifications I have made to my UniFi UDM SE router","archived":false,"fork":false,"pushed_at":"2022-10-17T16:35:01.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T05:44:16.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmsj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-17T16:31:40.000Z","updated_at":"2023-01-26T03:56:56.000Z","dependencies_parsed_at":"2023-05-17T23:45:40.364Z","dependency_job_id":null,"html_url":"https://github.com/cmsj/udm-se","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmsj/udm-se","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsj%2Fudm-se","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsj%2Fudm-se/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsj%2Fudm-se/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsj%2Fudm-se/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmsj","download_url":"https://codeload.github.com/cmsj/udm-se/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsj%2Fudm-se/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T14:04:59.715Z","updated_at":"2026-02-14T20:35:45.763Z","avatar_url":"https://github.com/cmsj.png","language":null,"readme":"# Tailscale on a Unifi UDM SE\n\n## Introduction\n\nThere are few comprehensive guides out there for getting Tailscale working on a UDM SE. Plenty exist for UDM Pro, but it seems like the 2.2.x firmware on UDM SE is quite different to UDM Pro's current firmware.\n\nSo, this is how I did it.\n\n## Step 1: udm-boot\n\nThe convention amongst UDM Pro modifiers seems to be to use a systemd service named `udm-boot` which actually just executes whatever shell scripts are in a particular directory on the UDM Pro's persistent data partition.\n\nThe UDM SE has systemd and a persistent data partition, but it's mounted in a different location (`/data` instead of `/mnt/data`), so we will follow the pattern and just adapt the paths.\n\nSSH into your UDM SE and create `/etc/systemd/system/udm-boot.service` with the following contents:\n\n```\n[Unit]\nDescription=Run On Startup UDM\nWants=network-online.target\nAfter=network-online.target\n\n[Service]\nType=forking\nExecStart=bash -c 'mkdir -p /data/on_boot.d \u0026\u0026 find -L /data/on_boot.d -mindepth 1 -maxdepth 1 -type f -print0 | sort -z | xargs -0 -r -n 1 -- bash -c \\'if test -x \"$0\"; then echo \"%n: running $0\"; \"$0\"; else case \"$0\" in *.sh) echo \"%n: sourcing $0\"; . \"$0\";; *) echo \"%n: ignoring $0\";; esac; fi\\''\n\n[Install]\nWantedBy=multi-user.target\n```\n\nTell systemd about that service by running:\n```\nsystemctl daemon-reload\nsystemctl enable /etc/systemd/system/udm-boot.service\nsystemctl start udm-boot.service\n```\n\nCheck `/data/on_boot.d/` exists\n\n## Step 2: Installing tailscale integration\n\nFetch the tailscale/udm integration scripts and extract them into the persistent data partition:\n```\nwget https://github.com/SierraSoftworks/tailscale-udm/releases/download/v2.2.1/tailscale-udm.tgz\ncd /data/\ntar xvf ~root/tailscale-udm.tgz\n```\n\n## Step 3: Making tailscale work\n\nThis is basically a process of updating all of the scripts involved, to refer to `/data` instead of `/mnt/data`:\n\n * Edit `/data/tailscale/manage.sh` and change all `/mnt/data` to `/data` (should be about 3 edits)\n * Run `/data/tailscale/manage.sh install` (this actually fetches and installs the tailscale binaries to `/data/tailscale/`)\n * Edit `/data/on_boot.d/10-tailscaled.sh` and change all `/mnt/data` to `/data` (should only be one edit)\n * Run `/data/tailscale/manage.sh on-boot` - this checks if a tailscale update exists and then starts the service\n * You should see that tailscale starts and prints out a `login.tailscale.com` URL. Open the URL and authorize the device\n * Check everything is good with `/data/tailscale/tailscale status`\n\n## Step 4: Celebrate\n\nYou are done.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmsj%2Fudm-se","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmsj%2Fudm-se","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmsj%2Fudm-se/lists"}