QNAP Remote Access with WireGuard VPN
gist.github.com
external-link
QNAP Remote Access with WireGuard VPN. GitHub Gist: instantly share code, notes, and snippets.

Yesterday I setup remote access to my QNAP NAS and wrote a guide for it, that I can reference later. Might be helpful for someone. This was my first time doing something like this. So any notes on my approach are also welcome.

Lemmy Tagginator
bot account
link
fedilink
09M

deleted by creator

Lemmy Tagginator
bot account
link
fedilink
09M

deleted by creator

@ShortN0te@lemmy.ml
link
fedilink
English
29M

Would not recommend setting the static IP on the device. A much better solution is to set up a static lease in your DHCP Server.

Hopefully your DHCP server never goes down.

@ShortN0te@lemmy.ml
link
fedilink
English
-19M

Hopefully your DHCP server never goes down.

DHCP is a curial part of every network. When it goes down then you need to respond. Leases usually are given out for several days. Even then, to fix yoy DHCP you can just use a static address temporarily.

Similar stupid statements are: Hopefully your Switch never goes down. Hopefully your Router never goes down. Hopefully your Server never goes down. Hopefully your House never burns down.

Mike
link
fedilink
29M

@Appoxo @ShortN0te On your own network you should be able to have a long enought lease that it shouldn’t be a problem if your dhcp server is unavailable sometimes.

@MarkKray@lemmy.world
creator
link
fedilink
English
19M

Thank you for the feedback. I wasn’t aware of DHCP static leases. I quickly looked into it. Is the benefit that all IP addresses are assigned by the single DHCP server as opposed to having configurations scattered across individual devices? Or are there other benefits as well?

@ShortN0te@lemmy.ml
link
fedilink
English
29M

It boils all down to “centralized management”.

With that the DHCP server has control over anything. Reduces (or basically eliminates) the risk of IP collisions. Also it gives you a place where you get a overview over your network. You change the DNS Server? You do it onetime in the DHCP settings. Etc. Etc.

@Decronym@lemmy.decronym.xyz
bot account
link
fedilink
English
1
edit-2
9M

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
IP Internet Protocol
NAS Network-Attached Storage
VPN Virtual Private Network

[Thread #368 for this sub, first seen 21st Dec 2023, 16:15] [FAQ] [Full list] [Contact] [Source code]

Lemmy Tagginator
bot account
link
fedilink
09M

deleted by creator

Would be nice to be able to run WG on the NAS directly and not need a server, wouldn’t it? I believe there are a few go/rust userspace WG servers out there but I don’t know if anyone’s using them for anything like that.

Create a post

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!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.47K Posts
  • 69.3K Comments
  • Modlog