lainchan / Ω

Self-hosting, uPnP and no information on google

Technician · 2024-05-11 07:39
So I've been trying to get a simple uPnP client to work with my modem but no luck so far. I don't understand why it doesn't work because tools like Syncthing and Torrent clients work without a problem. All of them work through automatic port forwarding. And then there's another strange thing: when you search google for information about uPnP, all you get is how it leads to security vulnerabilities and random people calling for banning it and such... When you look about self hosting in general, it's literally a fuarrrking desert. The only hits you get are from cloud providers who market themselves as being "self-hosters". It's 2024 and how hard can it be to just set up a simple server that you can access securely over the internet. I cannot currently configure the ports on my modem but I do know it allows for uPnP most likely, possible NAT PMP. When I run transmission-cli, the logs say that the uPnP module successfully set up port forwarding. So it's probably going to be uPnP. Then I tried doing this myself, using the tool that Transmission uses: miniupnpc. But it refuses to work. It can't discover a compatible IGD. How can this be? Why are my torrent clients and syncthing able to do it then? Online it seems like you can't find any info about this... support for miniupnpc seems very limited currently as well... So what do I do? OpenSSH derezzed the use of uPnP... you would have to hack it into the source code yourself. Lmao why is this so difficult? What is so threatening about self-hosting??? Currently, the only alternatives are some shoddy, proprietary pieces of bloatware to do the job. Why? Those things are most likely so convoluted and unnecessarily complex that they probably do come with a lot of security risks. All I want is a simple, containerized file server that sends encrypted traffic to anyone outside who can offer up the right credentials. It's 2024 and why is this so hard?
Lain Iwakura · 2024-05-11 11:24
Why even bother with boomernet when we already have alternatives like yggdrasil? >All I want is a simple, containerized file server that sends encrypted traffic to anyone outside who can offer up the right credentials. Does your scenario involve people who can't be asked to install yggdrasil?
Chan Siu Ming · 2024-05-11 11:35
What sort of modem do you use that doesn't allow to setup port forwarding? Did you try asking your ISP, maybe they can open some ports for you. Another solution would be to rent a reverse proxy, although that partly defeats the purpose of self-hosting.
Faye Valentine · 2024-05-11 16:05
>>77177 not my modem >>77176 >yggdrasil doesn't solve my problem >Why even bother with boomernet because all the information is there, unfortunately. But I am attempting to start self-hosting so I can maintain an archive of my personal knowledge and knowledge that I curated
fsociety · 2024-05-18 02:31
>>77182 I can open ports and have disabled uPnP (like the rest you already read) so I can't help you there. If it could be for myself , I could use tor hidden services because not need open ports but requires use the tor network for access or... Cloudflare Tunnels , but , god no, not use cloudflare.