maxistviews

How can I share my CalibreWeb container with a friend?

4 posts in this topic Last Reply

Recommended Posts

Hello!

 

I have set up a CalibreWeb container and I want to be able to send a URL to a friend and have them access the webUI with a username and password (download/read the epubs stores). Is this possible to do in such a user-friendly manner?

 

I've changed the network type on the container to "Custom: eth0" and given the container a static IP. 

 

I've read how I shouldnt port forward to the unRAID server, but if this is port forwarding to a container, is it in anyway safer? 

 

Thank you for your time!

Share this post


Link to post

I don't use CalibreWeb but I would reverse proxy it. It's a great way to securely connect to your containers remotely. Purchase a domain or get a free subdomain with duckdns or something. Then spin up the let's encrypt container from linuxserver.io which takes care of issuing a free SSL certificate for your domain/subdomain so you can connect securely. It also has nginx baked in so you can set up a web server or just use it to reverse proxy your containers. 

 

The great thing about it is you can access all/most of your containers remotely with just forwarding 1 or max 2 ports to the let's encrypt container. Instead of forwarding one port for each container. And you can connect to all of them using https. If the containers don't have the ability to set up username/password you can do that too with nginx. You can set up geoblocking, you can ban IP's automatically, you can do almost anything. 

 

After you've set it up you just go to containername.yourdomain.com or yourdomain.com/containername like any other website.

  • Like 1

Share this post


Link to post
25 minutes ago, strike said:

I don't use CalibreWeb but I would reverse proxy it. It's a great way to securely connect to your containers remotely. Purchase a domain or get a free subdomain with duckdns or something. Then spin up the let's encrypt container from linuxserver.io which takes care of issuing a free SSL certificate for your domain/subdomain so you can connect securely. It also has nginx baked in so you can set up a web server or just use it to reverse proxy your containers. 

 

The great thing about it is you can access all/most of your containers remotely with just forwarding 1 or max 2 ports to the let's encrypt container. Instead of forwarding one port for each container. And you can connect to all of them using https. If the containers don't have the ability to set up username/password you can do that too with nginx. You can set up geoblocking, you can ban IP's automatically, you can do almost anything. 

 

After you've set it up you just go to containername.yourdomain.com or yourdomain.com/containername like any other website.

 

Thank you so much for taking the time to reply! I have purchased a domain for a different project, so I might try it with that.

 

Do you think I can follow this guide to set up a reverse proxy?

https://cyanlabs.net/tutorials/the-complete-unraid-reverse-proxy-duck-dns-dynamic-dns-and-letsencrypt-guide/

Share this post


Link to post

If you piece together things from the guide you linked and these two I think you are on the right track:

 

https://technicalramblings.com/blog/how-to-setup-organizr-with-letsencrypt-on-unraid/

https://blog.linuxserver.io/2017/05/10/installing-nextcloud-on-unraid-with-letsencrypt-reverse-proxy/

 

And I strongly recommend the let's encrypt support thread. It may take a while to find what you're looking for since it is a massive thread but there's a LOT of information there: https://lime-technology.com/forums/topic/51808-support-linuxserverio-letsencrypt-nginx/

 

Basically there are two ways to configure the nginx reverse proxy, either with subdomains (subdomain.domain.com) or subdirectories (domain.com/subdirectory). Some containers won't work with subdirectories so you have to use subdomains.

 

Since you have your own domain I would recommend using cloudfare's dns service, then you can use dns validation to get your certs validated and you only need to forward port 443 to the let's encrypt container. If you don't go with dns validation you'll have to setup http validation over port 80, which have to be forwarded to you LE container.  I personally haven't tried the cloudfare option yet, but I'm going to try it soon. I believe there are some posts in the LE thread on how to set it up.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Copyright © 2005-2018 Lime Technology, Inc.
unRAID® is a registered trademark of Lime Technology, Inc.