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

Rikudou_Sage
link
fedilink
English
222Y

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

@[email protected]
link
fedilink
English
92Y

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

@[email protected]
link
fedilink
English
42Y

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.

@[email protected]
link
fedilink
English
12Y

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

Rikudou_Sage
link
fedilink
English
72Y

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

@[email protected]
link
fedilink
English
22Y

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

@[email protected]
link
fedilink
English
12Y

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.

@[email protected]
link
fedilink
English
32Y

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

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:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

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

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog