Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SWAG & Tailscale - Can't access

Featured Replies

  

Hi, I'm having issues with SWAG communicating outside of my server. I have it set as a serve and have the use tailscale option selected. The errors I've getting are these below. How can i fix this?

 

nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address in use)
nginx: [emerg] still could not bind()

 

8 hours ago, tDames said:

How can i fix this?

You have to disable the 443 listener from Nginx since Tailscale is using Serve on port 443 and is handling the certifications and so on.

 

I attached a example configuration for SWAG, may I ask why you even want to do that?

Usually it should be enough to expose container per container in your Tailnet and everything is handled through Tailscale.

 

Here is the example configuration, it belongs in .../swag/nginx/site-confs/default.conf

default.conf

  • Author
13 hours ago, ich777 said:

You have to disable the 443 listener from Nginx since Tailscale is using Serve on port 443 and is handling the certifications and so on.

 

I attached a example configuration for SWAG, may I ask why you even want to do that?

Usually it should be enough to expose container per container in your Tailnet and everything is handled through Tailscale.

 

Here is the example configuration, it belongs in .../swag/nginx/site-confs/default.conf

default.conf 2.63 kB · 2 downloads

 

I used Spaceinvaders tutorial before tailscale was integrated into unraid to get swag on my tailscale separated from my NGINXProxymanager because I wanted anything i configured in SWAG to be behind tailscale and NPM to be public. If there is an easier way to do it, I can switch it around. I tried the new config and it still gives me the same error. i almost want to reinstall swag as a whole since I used the old method

12 hours ago, tDames said:

i configured in SWAG to be behind tailscale

You can of course do that but why do you want to do that? The main goal of Tailscale is so that you don't have to do that and have your own private network which is available through Tailscale and the individual subdomains that you specify for each container.

 

I would recommend that you configure each container as it's own machine with it's own machine name either through the Unraid Docker Tailscale Integration or TSDProxy and then you should be able to reach your container through your Tailnet with SSL, their machine names and your Tailscale Domain.

  • 11 months later...

As a follow-up to this discussion. I have a similar issue when enabling Tailscale within the SWAG docker container and using Docker MODS. When enabling the Tailscale integration directly in the container, the container can no longer access the DNS records for lscr.io.

The use case for this would be to allow subdomain access via tailscale only as the A Record resolves to a 100.x.x.x tailscale ip and also have externally facing reverse proxy. This is similiar to SpaceInvaderOnes Uncast Ultimate SWAG on Unraid walkthrough (https://www.youtube.com/watch?v=3uW97tXYWVI)

It seems like it is an issue with the port that tailscale inside the docker container uses is 443. Is there a way to solve this?

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.