Internal LAN Works, Tailscale Broken #3452

Closed
opened 2026-02-05 06:45:22 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @Insan0 on GitHub (Jan 15, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I am able to access Bookstack locally by going to 172.16.0.100:6000. The APP_URL is http://172.16.0.100

I'm on CGNAT, and so I'm using Tailscale to access my network when away from home.

However, when I'm remote and try to access Bookstack through the Tailscale domain (machine.tailunique.ts.net:6000) or the Tailscale IP (10.xxx.xxx.xxx:6000) it doesn't work. When trying on my iPhone, the address bar switches to show 172.16.0.100, and eventually says the server stopped responding.

Access to my other apps works fine using Tailscale this way (e.g. plex, photoprism, etc.). I tried Wiki.js, and that works also with this method, but I really much prefer the structure, intuitiveness of Bookstack.

I suspect this is related to open issue 1342, but not sure.

Exact BookStack Version

v22.11.1

Log Content

No response

PHP Version

No response

Hosting Environment

Synology NAS through docker.

Originally created by @Insan0 on GitHub (Jan 15, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario I am able to access Bookstack locally by going to 172.16.0.100:6000. The APP_URL is `http://172.16.0.100` I'm on CGNAT, and so I'm using Tailscale to access my network when away from home. However, when I'm remote and try to access Bookstack through the Tailscale domain (machine.tailunique.ts.net:6000) or the Tailscale IP (10.xxx.xxx.xxx:6000) it doesn't work. When trying on my iPhone, the address bar switches to show 172.16.0.100, and eventually says the server stopped responding. Access to my other apps works fine using Tailscale this way (e.g. plex, photoprism, etc.). I tried Wiki.js, and that works also with this method, but I really much prefer the structure, intuitiveness of Bookstack. I suspect this is related to open issue 1342, but not sure. ### Exact BookStack Version v22.11.1 ### Log Content _No response_ ### PHP Version _No response_ ### Hosting Environment Synology NAS through docker.
OVERLORD added the 🐕 Support label 2026-02-05 06:45:22 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 15, 2023):

Hi @Insan0,
BookStack only supports being hosted on one hostname/IP at a time. Since you mention:

When trying on my iPhone, the address bar switches to show 172.16.0.100

It sounds like the request is resolving but BookStack, with the APP_URL set to http://172.16.0.100/, will redirect to that local IP.

I'd advise standardizing on a single domain/scheme for usage, so the tailscale domain I'd guess in this case since that should be accessible for everything?

@ssddanbrown commented on GitHub (Jan 15, 2023): Hi @Insan0, BookStack only supports being hosted on one hostname/IP at a time. Since you mention: > When trying on my iPhone, the address bar switches to show 172.16.0.100 It sounds like the request is resolving but BookStack, with the APP_URL set to `http://172.16.0.100/`, will redirect to that local IP. I'd advise standardizing on a single domain/scheme for usage, so the tailscale domain I'd guess in this case since that should be accessible for everything?
Author
Owner

@Insan0 commented on GitHub (Jan 15, 2023):

Hi @ssddanbrown ,
Thanks for the quick reply. Yes, i suppose I'll need an internal DNS server to route the tailscale domain when used internally to the correct IP? The tailscale domain is only available if the device is on the tailscale tunnel. Local devices (e.g. desktops) wouldn't need to be on the tailscale tunnel. Am I understanding this right? Thanks again.

@Insan0 commented on GitHub (Jan 15, 2023): Hi @ssddanbrown , Thanks for the quick reply. Yes, i suppose I'll need an internal DNS server to route the tailscale domain when used internally to the correct IP? The tailscale domain is only available if the device is on the tailscale tunnel. Local devices (e.g. desktops) wouldn't need to be on the tailscale tunnel. Am I understanding this right? Thanks again.
Author
Owner

@ssddanbrown commented on GitHub (Jan 15, 2023):

Ah, Yeah, Sorry, I'm not too familiar with tailscale, have only quickly used it once before.
I had it in mind they provide some way to expose a public domain/IP though, might be an add-on service of sorts?

@ssddanbrown commented on GitHub (Jan 15, 2023): Ah, Yeah, Sorry, I'm not too familiar with tailscale, have only quickly used it once before. I had it in mind they provide some way to expose a public domain/IP though, might be an add-on service of sorts?
Author
Owner

@Insan0 commented on GitHub (Jan 15, 2023):

Great thanks, I'll look into it. Am I right that this is the same as issue 1342? If so, I'll keep my eye on that to see if things might change on Bookstack end, and you can close this one.

By the way, I was so happy and excited to use Bookstack, I created a Github account just for this. Great work!

@Insan0 commented on GitHub (Jan 15, 2023): Great thanks, I'll look into it. Am I right that this is the same as issue 1342? If so, I'll keep my eye on that to see if things might change on Bookstack end, and you can close this one. By the way, I was so happy and excited to use Bookstack, I created a Github account just for this. Great work!
Author
Owner

@ssddanbrown commented on GitHub (Jan 15, 2023):

Thanks!

Am I right that this is the same as issue 1342? If so, I'll keep my eye on that to see if things might change on Bookstack end, and you can close this one.

If your intention is to use the system on multiple IPs/hosts, yes. To be honest though, I don't see the status of that issue changing anytime soon. The current system is based upon decisions I made early on and have since reinforced usage of. It would be a painful process to make changes to that and one I don't see being relatively worthwhile right now.

@ssddanbrown commented on GitHub (Jan 15, 2023): Thanks! > Am I right that this is the same as issue 1342? If so, I'll keep my eye on that to see if things might change on Bookstack end, and you can close this one. If your intention is to use the system on multiple IPs/hosts, yes. To be honest though, I don't see the status of that issue changing anytime soon. The current system is based upon decisions I made early on and have since reinforced usage of. It would be a painful process to make changes to that and one I don't see being relatively worthwhile right now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3452