Setting up your own VPN
Setting up your own VPN
What do you guys use / recommend to set up your own VPN to access your LAN services remotely?
You're viewing a single thread.
I use this one-liner to set up an IPsec VPN server:
wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh
1 9 ReplySecurity 101: Never blindly run shell scripts from a random comment on the internet.
23 1 ReplyIt’s also piped to
sudo
so that’s super cool too7 0 ReplyI sure hope there isn't a
rm -rf
floating around in there somewhere.. kind of like a certain past incident with major gaming client.4 0 ReplyI want to know more 😳 do you have something? A link?
1 0 ReplyIn 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 /.6 0 Reply😱😱😱😱😱😱😱😱😱 I don't know how to express how much this shocked me
2 0 Reply
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
3 0 ReplyTbf, 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.
1 1 Reply