72

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

you are viewing a single comment's thread
view the rest of the comments
[-] rikudou@lemmings.world 23 points 2 years ago

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

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

[-] GlitzyArmrest@lemmy.world 4 points 2 years ago

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.

[-] gabriele97@lemmy.g97.top 1 points 2 years ago

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

[-] rikudou@lemmings.world 7 points 2 years ago

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 /.

[-] gabriele97@lemmy.g97.top 2 points 2 years ago

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

[-] Wbbl@feddit.de 3 points 2 years ago

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

[-] BlueBockser@programming.dev 0 points 2 years ago

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.

this post was submitted on 19 Jul 2023
72 points (98.6% liked)

Selfhosted

60366 readers
739 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS