July 12Jul 12 If you are able, please report issues or feature requests via GitHub; support will still be provided here but GitHub is the preferred method. https://github.com/Joly0/unraid-pangolin_cli/issuesPangolin CLIAn Unraid plugin that installs the Pangolin CLI and adds a settings page to connect your server to a Pangolin instance as a machine client. This lets you reach private resources directly on your Unraid host.From Pangolin themselves:A client is a way to access resources on sites remotely and privately via a virtual private network. Clients are used with private resources to faciliate zero-trust network access.https://docs.pangolin.net/manage/clients/understanding-clientsInstallationCommunity ApplicationInstall via the Community Applications plugin in unRAID by going to the 'Apps' tab and searching for 'Pangolin CLI'.Manual InstallInstall manually by navigating to:Plugins → Install Plugin and entering the plugin URL:https://github.com/Joly0/unraid-pangolin_cli/raw/main/pangolin_cli.plg Edited July 12Jul 12 by Joly0
October 1Oct 1 Thank you for this! :) For some reason I'm experiencing problems with the dns resolution: Immediately after connecting the CLI it works great but when my backups run at night they're unable to resolve the internal dns - unraid seems to lose it after some time.I'm running this alongside with Tailscale but according to the description on "override system dns" this shouldn't be a problem. Here's the logs - the disconnect was not triggered manually - any idea what could be going on here / where I could start looking?INFO: 2026/09/30 11:57:46 WireGuard connection to site 7 is CONNECTED (RTT: 16.456231ms) 2026-09-30 12:07:06 ==== Pangolin client disconnecting ==== INFO: 2026/09/30 12:07:06 Received exit request via API INFO: 2026/09/30 12:07:06 Tunnel process context cancelled, cleaning up Received shutdown signal, stopping tunnel INFO: 2026/09/30 12:07:06 Restoring original DNS configuration INFO: 2026/09/30 12:07:06 DNS configuration restored successfully INFO: 2026/09/30 12:07:06 Hole punch manager stopped INFO: 2026/09/30 12:07:06 Stopped holepunch connection monitor INFO: 2026/09/30 12:07:06 UDP hole punch goroutine ended for all exit nodes INFO: 2026/09/30 12:07:06 Processing shutdown request via API INFO: 2026/09/30 12:07:06 Restoring original DNS configuration ERROR: 2026/09/30 12:07:06 Failed to restore DNS: failed to restore DNS: no backup file exists INFO: 2026/09/30 12:07:07 DNS proxy stopped INFO: 2026/09/30 12:07:07 DNS proxy stopped INFO: 2026/09/30 12:07:07 Released shared UDP bind INFO: 2026/09/30 12:07:07 Olm service stopped
October 3Oct 3 Author On 10/1/2026 at 12:04 PM, Luvide said:Thank you for this! :)For some reason I'm experiencing problems with the dns resolution: Immediately after connecting the CLI it works great but when my backups run at night they're unable to resolve the internal dns - unraid seems to lose it after some time.I'm running this alongside with Tailscale but according to the description on "override system dns" this shouldn't be a problem. Here's the logs - the disconnect was not triggered manually - any idea what could be going on here / where I could start looking?INFO: 2026/09/30 11:57:46 WireGuard connection to site 7 is CONNECTED (RTT: 16.456231ms) 2026-09-30 12:07:06 ==== Pangolin client disconnecting ==== INFO: 2026/09/30 12:07:06 Received exit request via API INFO: 2026/09/30 12:07:06 Tunnel process context cancelled, cleaning up Received shutdown signal, stopping tunnel INFO: 2026/09/30 12:07:06 Restoring original DNS configuration INFO: 2026/09/30 12:07:06 DNS configuration restored successfully INFO: 2026/09/30 12:07:06 Hole punch manager stopped INFO: 2026/09/30 12:07:06 Stopped holepunch connection monitor INFO: 2026/09/30 12:07:06 UDP hole punch goroutine ended for all exit nodes INFO: 2026/09/30 12:07:06 Processing shutdown request via API INFO: 2026/09/30 12:07:06 Restoring original DNS configuration ERROR: 2026/09/30 12:07:06 Failed to restore DNS: failed to restore DNS: no backup file exists INFO: 2026/09/30 12:07:07 DNS proxy stopped INFO: 2026/09/30 12:07:07 DNS proxy stopped INFO: 2026/09/30 12:07:07 Released shared UDP bind INFO: 2026/09/30 12:07:07 Olm service stoppedHey, sorry for the late reply.So this doesnt seem like a direct issue with the plugin itself. The problem seems to be, that pangolin changes unraids resolv.conf file for its dns resolving without letting unraid know it (there is basically no way for me to properly implement this properly unfortunately). It can happen, that when unraid does changes to the resolv.conf file when pangolin cli is up and connected then the original unraid file is restored and the changes from pangolin are reverted. This can for example happen when the server uses DHCP and the DHCP lease is renewed or when tailscale settings change and tailscale writes changes to the resolv.conf file.If this happens again, can you please run these commands:cat /etc/resolv.conf pangolin status client --json iptables -S INPUT | grep -n -e pangolin -e ts-input tail -50 /var/log/pangolin_cli.logand please post the results either here or better create an issue on my github https://github.com/Joly0/unraid-pangolin_cli
November 19Nov 19 Hey, so I'm having weird issues with this plugin: It connects and I can reach all my other Resources / Machines just fine but after a while it seems like DNS breaks. I also get this error in the logs when Dis- and Reconnecting:ERROR: 2026/11/19 12:41:35 Failed to restore DNS: failed to restore DNS: no backup file existsThis prevents my docker daemon from reaching anything on my Pangolin-net by domain.When I disable and then re-enable override DNS, the resolv.conf of Unraid correctly shows the Pangolin IP but after restarting the docker engine I saw that somehow it changed back again to just my routers DNS server. Anyone else experiencing these problems? I'm on the latest Plugin version and updating to the latest version via pangolin update in the terminal also didn't resolve this. It seems unraid doesn't want it's DNS servers overriden.. Thanks for the help!
November 19Nov 19 Author 7 hours ago, Luvide said:Hey, so I'm having weird issues with this plugin: It connects and I can reach all my other Resources / Machines just fine but after a while it seems like DNS breaks. I also get this error in the logs when Dis- and Reconnecting:ERROR: 2026/11/19 12:41:35 Failed to restore DNS: failed to restore DNS: no backup file existsThis prevents my docker daemon from reaching anything on my Pangolin-net by domain.When I disable and then re-enable override DNS, the resolv.conf of Unraid correctly shows the Pangolin IP but after restarting the docker engine I saw that somehow it changed back again to just my routers DNS server. Anyone else experiencing these problems? I'm on the latest Plugin version and updating to the latest version via pangolin update in the terminal also didn't resolve this. It seems unraid doesn't want it's DNS servers overriden.. Thanks for the help!Hey, thanks for the information. Regarding the Error message you can simply ignore that. The pangolin CLI does this on its own but it CAN fail to do so, so I added a fallback, but the fallback doesn't know if pangolin succeeded or failed, it just knows the backup file is there or not. So it seems no File and throws that error just in case.Regarding your second issue, did you do anything in particular bbefore it happened? You mentioned restarting the docker engine. The plugin (and for that matter also the netbird plugin) and not properly integrated into unraid, that we can properly detect changes to the resolve.conf file that unraid sometimes does (for example when stopping and starting docker) so it reverts back to the default file without your netbird or pangolin DNS servers. I have a small service running that regularly checks it, but it doesn't run every second (I think every minute or 5) and fixes this when it detects this, but it won't work for a few minutes if the default file is reverted to by unraid. There is basically nothing I can do about it. Just hope that Unraid will allow a better integration for plugins like these that change th resolve.conf file.7 hours ago, Luvide said:Hey, so I'm having weird issues with this plugin: It connects and I can reach all my other Resources / Machines just fine but after a while it seems like DNS breaks. I also get this error in the logs when Dis- and Reconnecting:ERROR: 2026/11/19 12:41:35 Failed to restore DNS: failed to restore DNS: no backup file existsThis prevents my docker daemon from reaching anything on my Pangolin-net by domain.When I disable and then re-enable override DNS, the resolv.conf of Unraid correctly shows the Pangolin IP but after restarting the docker engine I saw that somehow it changed back again to just my routers DNS server. Anyone else experiencing these problems? I'm on the latest Plugin version and updating to the latest version via pangolin update in the terminal also didn't resolve this. It seems unraid doesn't want it's DNS servers overriden.. Thanks for the help!Hey, thanks for the information. Regarding the Error message you can simply ignore that. The pangolin CLI does this on its own but it CAN fail to do so, so I added a fallback, but the fallback doesn't know if pangolin succeeded or failed, it just knows the backup file is there or not. So it seems no File and throws that error just in case.Regarding your second issue, did you do anything in particular bbefore it happened? You mentioned restarting the docker engine. The plugin (and for that matter also the netbird plugin) and not properly integrated into unraid, that we can properly detect changes to the resolve.conf file that unraid sometimes does (for example when stopping and starting docker) so it reverts back to the default file without your netbird or pangolin DNS servers. I have a small service running that regularly checks it, but it doesn't run every second (I think every minute or 5) and fixes this when it detects this, but it won't work for a few minutes if the default file is reverted to by unraid. There is basically nothing I can do about it. Just hope that Unraid will allow a better integration for plugins like these that change th resolve.conf file.
November 19Nov 19 No, I didn't really do anything beforehand.. that's really unfortunate, I hope they add proper support for pangolin at some point (like for tailscale). Thanks for getting back to me - I'll keep an eye on it and see if I can get it to work in other ways. Would you mind sharing the script you're using?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.