this post was submitted on 17 Jan 2024
6 points (68.8% liked)

Selfhosted

39435 readers
9 users here now

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!

founded 1 year ago
MODERATORS
 

I currently have a server running Unraid as the OS, which has some WireGuard integration built in. Which I've enabled and been using to remotely access services hosted on that server. But as I've expanded to include things like Octopi running on a Pi3 and NextcloudPi running on a Pi4 (along with AdGuardHome), I'm trying to determine the best way to VPN to my home network with the goal of reaching services I'm hosting, and do it safely of course.

I have a Netgear Nighthawk that has some VPN functionality built in that uses a OpenVPN account. Is that ok or would it be advisable to come in a different way?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

Adding a wireguard system that has iptables adjuated to include forwarding and masquerading will allow your single wireguard connection to see the rest of your LAN https://www.stavros.io/posts/how-to-configure-wireguard/

[–] [email protected] 2 points 9 months ago (1 children)

Yeah I know some of those words...

I'm still a newb but I'll have a look at that link, thanks!

[–] [email protected] 2 points 9 months ago (1 children)

If you are totally new to wireguard setup, I found that reviewing all of these links gave me a better understanding of how the configuration setup worked. No one site seemed to cover it all, and each on had some good tips or explanation about a certain part of wireguard.

https://golb.hplar.ch/2019/07/wireguard-windows.html

https://emanuelduss.ch/2018/09/wireguard-vpn-road-warrior-setup/

https://docs.sweeting.me/s/wireguard#

This Stavros one has the post-up/down IP table modifications for forwarding traffic and your wg device masquerading as any device on the LAN

https://www.stavros.io/posts/how-to-configure-wireguard/

https://www.linode.com/docs/networking/vpn/set-up-wireguard-vpn-on-ubuntu/

[–] [email protected] 1 points 9 months ago

That great, thanks for the info. I was able to get Wireguard setup in unraid but they make it pretty easy, so I didn't have a problem. I just didn't think about connecting to the entire network, not just the server.