What do you guys use / recommend to set up your own VPN to access your LAN services remotely?

@xinaked@lemmy.world
link
fedilink
English
81Y

tailscale 100 times over

Wireguard (if you can open udp ports)

@IamPic@lemmy.world
link
fedilink
English
101Y

That’s what I’m using, though I’ve used wg-easy, which made the setup, well, easy.

@PlexSheep@feddit.de
link
fedilink
English
31Y

Yup, WG easy works pretty well

deleted by creator

varaki
link
fedilink
English
4
edit-2
1Y

I installed OpenWrt on my home router and set up wireguard on it. If you have dinamic IP address assigned by your ISP, like me, you also have to setup a dynamic dns updater on the router. I use duckdns.org. Then you have to open the port for wireguard on the router. Here’s a video guide on how to do it: https://www.youtube.com/watch?v=Bo2AsW4BMOo

@PipedLinkBot@feddit.rocks
bot account
link
fedilink
English
71Y

Here is an alternative Piped link(s): https://piped.video/watch?v=Bo2AsW4BMOo

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source, check me out at GitHub.

kalipike
link
fedilink
English
31Y

Tailscale all the way.

I’ve never had issues with my plain old OpenVPN setup

While I’ve never used it personally I’ve heard good things about cloudflare tunnel.

@rog@lemmy.one
link
fedilink
English
21Y

Depends on the use case. Cloudflare tunnels are great for accessing services, but not your network. I have a dockerised vscode instance behind a cloudflare tunnel attached to a personal domain that uses white listed emails as authorisation. Fantastic set up, can access my coding environment from anywhere with an internet connection as long as I can click the verification link in my emails.

To access my network itself though, wireguard is better. I just use pivpn (coupled with pihole for on the go adblock) on a rpi.

@Starfighter@discuss.tchncs.de
link
fedilink
English
5
edit-2
1Y

Was running Wireguard and am now in the process of changing over to Tailscale (Headscale).

It uses Wireguard for the actual connections but manages all the wireguard configs for you.

@IamPic@lemmy.world
link
fedilink
English
41Y

Why have you decided to switch?

@Starfighter@discuss.tchncs.de
link
fedilink
English
6
edit-2
1Y

Getting the configs to work with my personal devices was already a little finicky but doing that for not-so-technical family members was starting to be a bit too much work for me.

I’m hoping that Headscale will cut that down to pointing their app at the server and having them enter their username and password.

@spencer@lemmy.ca
link
fedilink
English
51Y

I came here to say exactly this - WireGuard is great and easy to set up, but it gets harder as you add more people, especially less technical ones, as getting them to make keys and move them around etc becomes a headache. Tailscale also minimizes the role of the central server, so if your box goes down the VPN can still function. Tailscale can also do some neat stuff with DNS that’s pretty nifty.

@witten@lemmy.world
link
fedilink
English
21Y

One thing that helped a ton with that for Wireguard (for either you or anyone else reading this) is: You can generate QR codes for a peer’s full Wireguard config! So you can create the images on your computer and then a non-technical user can just scan the code to get configured.

@Wbbl@feddit.de
link
fedilink
English
-101Y

I use this one-liner to set up an IPsec VPN server:

wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh

Rikudou_Sage
link
fedilink
English
241Y

Security 101: Never blindly run shell scripts from a random comment on the internet.

@Wbbl@feddit.de
link
fedilink
English
31Y

A good tip in itself, but you can also look at the source and feel good or bad about it. I didn’t expect so many downvotes

https://github.com/hwdsl2/setup-ipsec-vpn

It’s also piped to sudo so that’s super cool too

I sure hope there isn’t a rm -rf floating around in there somewhere… kind of like a certain past incident with major gaming client.

I want to know more 😳 do you have something? A link?

Rikudou_Sage
link
fedilink
English
71Y

In the Steam Linux client, there was this line: rm -rf "$STEAMROOT/"*.

If the variable $STEAMROOT isn’t defined (or is an empty string), it basically runs rm -rf "/"*, which means delete all subfolders of /.

😱😱😱😱😱😱😱😱😱 I don’t know how to express how much this shocked me

Tbf, a lot of applications and tools provide installation scripts in lieu of more elaborate manual setup. Doesn’t make it safer, but if you want to install something, you have to trust the source with shell access at some point anyway.

@Decronym@lemmy.decronym.xyz
bot account
link
fedilink
English
47
edit-2
1Y

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

Fewer Letters More Letters
CF CloudFlare
DNS Domain Name Service/System
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

4 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.

[Thread #6 for this sub, first seen 19th Jul 2023, 10:30] [FAQ] [Full list] [Contact] [Source code]

Lodion 🇦🇺
link
fedilink
English
131Y

Good bot.

Dandroid
link
fedilink
English
71Y

great bot

THE BEST bot

MVP bot

@FrostyCaveman@lemm.ee
link
fedilink
English
21Y

I use this too. It is excellent

HousePanther
link
fedilink
English
31Y

Check out Slack Nebula.I personally like it very much and used it to build a software-defined WAN to support my family’s needs. I use a point to point WireGuard tunnel between my VPS and my home network to support self-hosted instances of Mastodon and Lemmy.

@Coldus12 I got wireguard hosted on my openwrt router. Straightforward and no fuss.

@rambos@lemmy.world
link
fedilink
English
21Y

Not many people here use openmediavault it seems, but Its wireguard plugin is super nice.

Giddy
link
fedilink
English
51Y

i have pivpn (wireguard+pihole) running on a pi zero and it is rock solid

My MikroTik has built in WireGuard functionality so it was an easy pick 😁

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
  • 124 users / day
  • 419 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog