• 1 Post
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle





  • Do you really know how Wireguard works?

    Updating without a reboot only works for wireguard-go. The default implementation runs in the kernel. An update to it would require kernel live patching.

    Wireguard doesn't answer to unsigned packets. Using obscure ports or even port knocking is rather pointless. It's indistinguishable from a closed port.

    I'd rather take Casaos out of the equation and target Ubuntus' Wireguard stack instead.




  • Just a few thoughts:

    • don't cheap out. Building your whole stack on top of free or ultra budget providers is going to backfire eventually
    • check the traffic limits if you want to stream 4k content from your NAS
    • if latency and bandwidth is a concern, you need to select a VPS provider with good peering. This fully depends on your ISP.
    • i'd recommend setting things up with split DNS. Your DNS server would answer with local IPs for queries from within your LAN and with the IP of the VPS for external queries.
    • take a look at AdGuard Home
    • you can skip fail2ban if you go straight for ssh keys
    • 100% wireguard

  • Du hast hier eine Überschneidung drin. Mit Address = 100.10.20.120/24 definierst du ihm ja, dass der Traffic für das komplette 100.10.20.0/24 Subnetz über den Tunnel gehen soll. Dein Endpoint liegt aber genau in eben diesem Subnetz.

    100.10.10.100:51820 würde hingegen klappen, da die Adresse in einem anderen Subnetz liegt.

    Wieso verwendest du innerhalb des Tunnels kein LAN IPs? Das sind öffentliche IPs, die du hier zweckentfremdest.