QNAP NAS Remote Access with WireGuard VPN (gist.github.com)
from MarkKray@lemmy.world to selfhosted@lemmy.world on 21 Dec 2023 13:54
https://lemmy.world/post/9824536

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.

#selfhosted

threaded - newest

ShortN0te@lemmy.ml on 21 Dec 2023 15:32 next collapse

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.

MarkKray@lemmy.world on 21 Dec 2023 16:02 next collapse

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 on 21 Dec 2023 16:54 collapse

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.

Appoxo@lemmy.dbzer0.com on 22 Dec 2023 11:28 collapse

Hopefully your DHCP server never goes down.

ShortN0te@lemmy.ml on 22 Dec 2023 12:16 collapse

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.

[deleted] on 21 Dec 2023 15:55 next collapse
.
[deleted] on 21 Dec 2023 16:04 next collapse
.
[deleted] on 21 Dec 2023 16:06 next collapse
.
Decronym@lemmy.decronym.xyz on 21 Dec 2023 16:15 next collapse

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]

u_tamtam@programming.dev on 22 Dec 2023 10:38 collapse

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.