▲ 66 ▼ How much do you secure a home server that's only accessible with VPN? (programming.dev) submitted 4 months ago by jello@programming.dev to c/selfhosted@lemmy.world 30 comments fedilink hide all child comments I have a VPS that I secure as much as possible since the IP is public, but does a wireguard-access-only homelab warrant the same efforts? Those with homelabs like this, what do you do?
[–] flint@lemmy.zip 2 points 4 months ago (4 children) This is such a nice overview. Thank you for sharing! permalink fedilink source parent hideshow 4 child comments replies: [–] CoreLabJoe@piefed.ca 1 point 4 months ago (3 children) No worries, hope it helps, let me know if you have questions =) permalink fedilink source parent hideshow 3 child comments replies: [–] flint@lemmy.zip 1 point 4 months ago (2 children) Actually, I was wondering: I have used tailscale, and lately netbird, for remote access and it has worked well for Jellyfin streaming, ssh/rsync and accessing other WebUIs. All with non-default passwords of course. However I have not set up any of the internal network hardening like OPNSense, VLANs or ReverseProxy. Is it safe to configure these remotely or am I risking locking myself out? permalink fedilink source parent hideshow 2 child comments replies: [–] CoreLabJoe@piefed.ca 2 points 4 months ago (1 child) It can be done, just carefully. You can definitely accidentally block yourself out if you set a firewall rule up incorrectly, or in higher precedence of order for example. OPNsense (like almost every firewall known) processes rules in a "top down" order. So you put your blocks at the bottom!!! Reverse proxy won't lock you out, essentially that's just slapping HTTPS on a webserver/service like Jellyfin, so you can access it without requiring a VPN. Here's a reverse proxy explainer, pt 2 is the actual setup! permalink fedilink source parent hideshow 1 child comment replies: [–] flint@lemmy.zip 2 points 4 months ago Thank you very much for the pointers! There is so much info at different levels out there that it's encouraging to get recommendations. Gicen the risk of locking myself out (have been prone to do that even IRL) I may limit firewalling to times where I have physical access. Reverse proxy sounds intriguing though. I've got a domain already, so just missing... well.. the rest (: permalink fedilink source parent
[–] CoreLabJoe@piefed.ca 1 point 4 months ago (3 children) No worries, hope it helps, let me know if you have questions =) permalink fedilink source parent hideshow 3 child comments replies: [–] flint@lemmy.zip 1 point 4 months ago (2 children) Actually, I was wondering: I have used tailscale, and lately netbird, for remote access and it has worked well for Jellyfin streaming, ssh/rsync and accessing other WebUIs. All with non-default passwords of course. However I have not set up any of the internal network hardening like OPNSense, VLANs or ReverseProxy. Is it safe to configure these remotely or am I risking locking myself out? permalink fedilink source parent hideshow 2 child comments replies: [–] CoreLabJoe@piefed.ca 2 points 4 months ago (1 child) It can be done, just carefully. You can definitely accidentally block yourself out if you set a firewall rule up incorrectly, or in higher precedence of order for example. OPNsense (like almost every firewall known) processes rules in a "top down" order. So you put your blocks at the bottom!!! Reverse proxy won't lock you out, essentially that's just slapping HTTPS on a webserver/service like Jellyfin, so you can access it without requiring a VPN. Here's a reverse proxy explainer, pt 2 is the actual setup! permalink fedilink source parent hideshow 1 child comment replies: [–] flint@lemmy.zip 2 points 4 months ago Thank you very much for the pointers! There is so much info at different levels out there that it's encouraging to get recommendations. Gicen the risk of locking myself out (have been prone to do that even IRL) I may limit firewalling to times where I have physical access. Reverse proxy sounds intriguing though. I've got a domain already, so just missing... well.. the rest (: permalink fedilink source parent
[–] flint@lemmy.zip 1 point 4 months ago (2 children) Actually, I was wondering: I have used tailscale, and lately netbird, for remote access and it has worked well for Jellyfin streaming, ssh/rsync and accessing other WebUIs. All with non-default passwords of course. However I have not set up any of the internal network hardening like OPNSense, VLANs or ReverseProxy. Is it safe to configure these remotely or am I risking locking myself out? permalink fedilink source parent hideshow 2 child comments replies: [–] CoreLabJoe@piefed.ca 2 points 4 months ago (1 child) It can be done, just carefully. You can definitely accidentally block yourself out if you set a firewall rule up incorrectly, or in higher precedence of order for example. OPNsense (like almost every firewall known) processes rules in a "top down" order. So you put your blocks at the bottom!!! Reverse proxy won't lock you out, essentially that's just slapping HTTPS on a webserver/service like Jellyfin, so you can access it without requiring a VPN. Here's a reverse proxy explainer, pt 2 is the actual setup! permalink fedilink source parent hideshow 1 child comment replies: [–] flint@lemmy.zip 2 points 4 months ago Thank you very much for the pointers! There is so much info at different levels out there that it's encouraging to get recommendations. Gicen the risk of locking myself out (have been prone to do that even IRL) I may limit firewalling to times where I have physical access. Reverse proxy sounds intriguing though. I've got a domain already, so just missing... well.. the rest (: permalink fedilink source parent
[–] CoreLabJoe@piefed.ca 2 points 4 months ago (1 child) It can be done, just carefully. You can definitely accidentally block yourself out if you set a firewall rule up incorrectly, or in higher precedence of order for example. OPNsense (like almost every firewall known) processes rules in a "top down" order. So you put your blocks at the bottom!!! Reverse proxy won't lock you out, essentially that's just slapping HTTPS on a webserver/service like Jellyfin, so you can access it without requiring a VPN. Here's a reverse proxy explainer, pt 2 is the actual setup! permalink fedilink source parent hideshow 1 child comment replies: [–] flint@lemmy.zip 2 points 4 months ago Thank you very much for the pointers! There is so much info at different levels out there that it's encouraging to get recommendations. Gicen the risk of locking myself out (have been prone to do that even IRL) I may limit firewalling to times where I have physical access. Reverse proxy sounds intriguing though. I've got a domain already, so just missing... well.. the rest (: permalink fedilink source parent
[–] flint@lemmy.zip 2 points 4 months ago Thank you very much for the pointers! There is so much info at different levels out there that it's encouraging to get recommendations. Gicen the risk of locking myself out (have been prone to do that even IRL) I may limit firewalling to times where I have physical access. Reverse proxy sounds intriguing though. I've got a domain already, so just missing... well.. the rest (: permalink fedilink source parent