Avatar

Giu176

Giu176@lemmy.world
Joined
2 posts • 29 comments
Direct message

If you are using Linux I wrote a script just for that!

https://github.com/giu176/ProtonVPN-auto-NATPMP

I’m using it on my headless server and it worked fine for the last two months. Tell me if you need help in the setup (the Readme should be exhaustive).

permalink
report
reply

To connect your domain to your IP use godaddy website, it should have a section where you can configure a dns entry, you can specify an IP address (your public IP) and, after a while, every device on the internet connecting to YOURDOMAIN.COM will be send to your home. If godaddy doesn’t offer a dns service you have to buy it somewhere else like on cloudflare, here I think you will need to prove that you own YOURDOMAIN.COM and then setup your IP in the dns. If you don’t have a static IP you need a DDNS (Dynamic DNS). After that you open the port number 443 on your home router so that https requests will be send to a device of your choice, this device will host your reverse proxy, the reverse proxy binds a domain name (the one you brought) or a sub domain to a service of you choice on your local network, doing this you don’t expose the local server directly and you need to open a single port only.

I bought a domain on namecheap.com and it has a configurable dns built in so I hope that godaddy has one too. I use Caddy as a reverse proxy for my jellyfin instance instead of Nginex, I think that they are both valid, another thing other people said in the comment is to access jellyfin via wireguard tunnel and I confirm that is the best choice if you don’t have specific needs, let me explain. The reverse proxy automatically generates ssl certificates using let’s encrypt allowing you to cast from an android phone to a Google chromecast (this seems to be the only way to do it and works very well for me). I also configured other services on caddy, in my setup I block every request to the reverse proxy that doesn’t arrive from inside my local network (except jellyfin so I can use it remotely), I know that it’s not the intended use of a reverse proxy but it makes some things possible that otherwise will need more configuration:

  • I have two separate networks in my home, my reverse proxy has a double interface so I can easily access all services from devices on the main network.
  • I don’t need to configure local dns rewrites to my services neither I have to add exceptions for dns rebind inside my router, I simply add a new rule to caddy and it just work.
  • I have https for every service on my network without annoying messages on the browser.

If you think this lazy use of the reverse proxy could be a problem please tell me your thoughts!

permalink
report
reply

Thank you for the time and effort in the reply. The information you gave are very useful.

permalink
report
parent
reply

Thank you for the clarification! I’ll move to a different solution for my setup then.

permalink
report
parent
reply

There are two things that worked for me when I was in your situation:

  • Playing with friends, of course it applies only to multilayer games and scheduling free time for two or more people could be difficult but it works so well for this problem. We have a WhatsApp group to coordinate some gaming nights and play rocket league, age of empires 2, cs go, overwatch and others, recently we are replaying DS3 next will be elden ring when the dlc drops.

  • Review games. I know it sounds absurd but I put some effort into creating an excel sheet with all the games I played and I reviewed them on what I think are the most significant aspects (characters design, level design, story, gameplay loop, graphics, sound, optimization just to name a few) I reached several reviews of the sheet and now it’s very complete and complex. I like to complete games, fill the form and add them to the list, I usually complete at least the main quest, anyway Icontinue to play the game until I’m satisfied and I’ve elaborate a score for each category. This helped me reasoning on the game development, what it wants to tell me, the evolution of the gaming industry, I’ve figured out what I like and what not, all of this combined with the the genuine excitement about starting a new game to add to the list it’s what re-enabled my passion when I was stucked like you are.

I hope this can help you. Send me a private message if you want to add me on steam and play sometimes or if you want a copy of the spreadsheet!

permalink
report
reply

Thanks for all the useful informations. In my current setup I use a Proton vpn tunnel on a mikrotik router to route all the traffic from my torrenting machines through it, the only problem is that the router doesn’t support NAT-PMP which is used by Proton to open ports on their side of the tunnel. Is this a problem? If I understand correctly PF does not influence my ability to download but only my uploads (without PF my files can’t be accessed via TCP I guess). I don’t think I need PF because I already had to limit my uploads because of my shitty internet connection, in good days I have 2Mbps upload, this limited bandwidth was always saturated by qbittorrent. I know that it’s not fair p2p but otherwise I couldn’t even use my internet.

I’m asking for confirmation here, when I’ll move to a place with fiber I’ll change my setup for sure! Or maybe I’ll go through some load balancing shenanigans on my network and re-enable uploads in some way…

permalink
report
parent
reply

I’m going to mod the PC of a friend soon, I will share a guide if you are interested.

permalink
report
parent
reply

I’m using AIDA64 Extreme, the paid version ha a sensor panel feature that is so good that I can’t explain, so here some photos:

permalink
report
parent
reply

If you are a pc enthusiast I’m going to say you need a sensor panel. I built one myself, 7" lcd display and driver board costs less then 30€ and the result is incredible. I always look at it for any sort of reason it has temperatures, FPS, cpu/gpu/ram usage, network bandwidth… I always know what’s going on!

permalink
report
reply