Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
It's fine, it just grabs the network settings from the gluetun service.
Btw, your post is hard to read due to formatting. Surround the code block with triple backticks at the top and bottom like this:
```
code goes here
```
Example:
Thank you so much for your reply. Follow up question, does this open up any ports to the greater internet in any way? That is really where my concern is, as I have heard that is dangerous to do
Any ports used in docker will be open on your computer and accessible to any device in your network.
However, to open up a port to the internet, you'd have to do port-forwarding on your router. If you haven't done that, any incoming connections will just be dropped at the router-level.
Assuming they use NAT. Almost certainly true for IPv4, very unlikely for IPv6. And you should have a firewall too.
Exactly. I have my firewall set up to block everything I don't explicitly allow through. That way if I'm a little loose with running things on ports, it at least won't leak ports past the firewall.
I'm using Gluetun via Docker Compose as well right now and can happily say all the ports exposed via the
ports:
setting are local network only. I could port forward them via the router probably (haven't tried) but I only use them for access via LAN. To expose ports over the VPN connection you use theFIREWALL_VPN_INPUT_PORTS
environment variable. A stripped version of my current compose (example port numbers, not real) with LAN access to6000
and WAN access to1234
and5678
: