Evkob (they/them)

Languages: Français, English

Pronouns: They/them

Communities:

  • 3 Posts
  • 89 Comments
Joined 2 years ago
cake
Cake day: June 5th, 2023

help-circle
  • I recommend posting in !selfhosted@lemmy.world, really helpful community there (although I’d refrain from specifically mentioning piracy).

    I’ve heard Hetzner is quick to crack down on piracy. Some VPS hosters advertise that they don’t acknowledge DMCA requests, such as Njalla and 1984 (I’ve never used these, just found them by searching Lemmy). If you want to go with a traditional hoster I’ll echo what the other person said and recommend Gluetun to bind your container to a VPN service.

    For security, if it’s just for you and your partner I’d just setup a Wireguard server on the VPS and tunnel into it that way. You’ll have to setup the VPN on any device you want to access your server with, which is a hassle, but I’d much prefer the small hassle than the constant worrying of hosting publicly-accessible services. Otherwise, I’d setup something like Crowdsec or Fail2Ban.






  • I was having issues getting my Android device to use my local DNS server over VPN, what worked for me was setting it up through RethinkDNS. There’s a setting to prevent DNS leaks by capturing all traffic on port 53 and directing it to the DNS server you set. It doesn’t feel like an elegant solution but hey, it works.

    Note, you’ll have to make sure your private DNS setting is off, in the internet section of the system settings.






  • The reason for the VPN is to have access to my Unbound DNS on my phone from anywhere, not only my local network. If I just wanted to configure the DNS on my local network, I’d set up static IP for my network in Android’s settings and input the DNS server manually. This works fine when I set it up, but like I said I want to use Unbound on my phone anywhere via Wireguard.

    I’m not sure what’s the second thing you want me to clarify! Sorry for the confusion, I appreciate you trying to help out :)





  • When connected through wireguard can you access anything on the local network?

    Everything works as expected with Wireguard otherwise, I can ssh into my server or my desktop, and access the other things hosted on my server (although these are all through Docker, which is why I suspect container isolation to be an issue).

    Does this issue also happen when you’re on another network and vpning back?

    Yup, same issues whether I’m on the local network, the WiFi at work, or on LTE.



  • It depends on if you want to access it from anywhere (or give others access), or if you’re only accessing your server from specific devices.

    Since I only ever access my server from my phone or my desktop, I use Wireguard via wg-easy. You set it up as a docker container on your server and it gives you a neat web UI (defaults to port 51821) from which to add Wireguard clients. Once connected through Wireguard, you can access your services as if you’re on the server’s local network.

    Note, you’ll of course have to open up a port for Wireguard on your router for this to work, the default being 51820.