-
Is there any way to hide the webadmin page from acces from the internet? I want the Admin page to be accessible only within my LAN. For the calendars, access from outside is allowed though. Currently I have Baikal behind a Reverse Proxy, and I see no way to allow only the
But it doesn't work, I still have access from the internet. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Hi @BobWs , which reverse proxy and which image variant (Nginx/Apache httpd) do you use? |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using the Apache variant |
Beta Was this translation helpful? Give feedback.
-
Hey there, on vacation with basically no internet - your rule looks good and
If the deny rule works, then I'd think it's because the client's IP address (e.g. someone on the internet) is replaced by the reverse proxy's IP address when it's forwarding the request to Baikal. If that's the case, then I'd add the IP whitelist to your reverse proxy instead of the Baikal container. This also has the added benefit that the paket is blocked as early as possible and doesn't arrive at Apache httpd where weird misconfigurations or exploits could be used. You could also configure the reverse proxy to forward the original IP address (afair typically as |
Beta Was this translation helpful? Give feedback.
-
Thanks for replying back, no worries I hope you had a great vacation 😎 So I’m using nginx reverse-proxy in front of Baikal. Baikal is running on Docker on a Synology NAS, which has a built in reverse proxy based on nginx. |
Beta Was this translation helpful? Give feedback.
-
Tried this but didn’t work the Admin page is still accessible from the internet... |
Beta Was this translation helpful? Give feedback.
-
That's interesting, almost sounds like the If so, then something isn't working with the Also, can you modify the Nginx configuration file that has the Adding an IP whitelist to Nginx might overall be simpler (plus you won't run into the issue with overridden client IPs), would be something along the lines of
|
Beta Was this translation helpful? Give feedback.
-
When I do a
Baikal is working fine with the clients on iOS, MacOS and Android. So I guess the well-known is working. Synology doesn't allow extra entries into the reverse proxy configuration file, all is done by GUI I'm not sure how to add this to the GUI
|
Beta Was this translation helpful? Give feedback.
-
I think I solved it!
So now when I go to the admin/page I'm getting a 403 Forbidden page |
Beta Was this translation helpful? Give feedback.
I think I solved it!
I'm using NPM as reverse proxy now and there it is possible to
add
So now when I go to the admin/page I'm getting a 403 Forbidden page
and
caldav.mydomain.com
in the ios and android clients just work fine.