this post was submitted on 28 Oct 2024
40 points (97.6% liked)

Selfhosted

39824 readers
633 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

For folks that are unable to port forward on the local router (eg CGNAT) I made this post on doing it via a VPS. I've scoured the internet and didn't find a complete guide.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 hour ago* (last edited 1 hour ago) (1 children)

Hey, great post. I have one request. Can you maybe add some description for what the iptables entries do? I have a similar setup with a lot less iptables rules that works well for me. But I'm not an expert in networking, and am now worried that I might be missing something that can leak my home IP.

[–] [email protected] 2 points 11 minutes ago

Thanks for the feed back. I started out with that post I referenced in my article, which had fewer entries. It didn't work. Caveat was although the online port checkers were reporting the port as open, it was not actually making through the tunnel!

I actually solved it by asking chatgpt!! I put in the suggestions and it worked. I'm also no expert on creating iptables, but once it was in place it seemed self explanatory.

I ran netcat as client-server to test it actually worked.

[–] [email protected] 8 points 5 hours ago

Thanks for the nice write-up, saving it in case I find myself behind CGNAT in the future.

[–] [email protected] 1 points 4 hours ago (2 children)

another option is to use Cloudflare's tunnels. it's free, I use it all the time. really great.

[–] [email protected] 15 points 4 hours ago

I've set up some tunnels. Works nice but then the voices came. 'Why would you trust a company like Cloudflare with all your data?' 'Why rely on this one company for all your services?'

Nearly a year into my selfhosting journey and I'm more confused than ever.

[–] [email protected] 7 points 4 hours ago (1 children)

Yeah it's a popular choice for various things. But wouldn't it be against TOS using it for p2p and that amount of traffic?

[–] [email protected] 0 points 2 hours ago (1 children)

gotta admit I haven't read the ToS, but I didn't encounter any problems. I'm streaming GBs of music via the tunnel and it still works. p2p I didn't try, but I don't really see a reason to?

[–] [email protected] 1 points 19 minutes ago

Huh, good to know. I'm out remember some of us have traffic in the TBs pretty month!