view the rest of the comments
Selfhosted
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.
-
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.
-
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:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I use this one-liner to set up an IPsec VPN server:
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 tooI 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?
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 runsrm -rf "/"*
, which means delete all subfolders of /.😱😱😱😱😱😱😱😱😱 I don't know how to express how much this shocked me
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
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.