4 ms·
Any tips on how to run your own server safely? I get all paranoid because I’m terrible with security.
by syntaxing 6y ago
Any tips on how to run your own server safely? I get all paranoid because I’m terrible with security.
- mfcl 6y agoBy practicing. Run it anyway and get good at it.
- justusthane 6y ago“By practicing” is not a good way to get good at security, unless you want to make potentially devastating mistakes along the way.
- colesantiago 6y agoor you can use mullvad.net (supports wireguard protocol) no activity logs does not ask for personal information anonymous payments via cash or cryptocurrencies no subscription hides your device's activity.
- _-___________-_ 6y ago“No activity logs” is impossible to verify, and “hides your device’s activity” is basically untrue unless you do some gymnastics with the definitions of words.
- 3np 6y agoAbsolutely true. I still vouch for Mullvad though, it’s the one VPN provider I feel I can trust to reasonable extents.
- colesantiago 6y agohttps://mullvad.net/en/help/no-logging-data-policy https://mullvad.net/en/help/no-logging-data-policy
- _-___________-_ 6y agoHow do you verify this?
- pthreads 6y agoJust replied to another comment. Hope that helps.
- scaladev 6y agohttps://github.com/trailofbits/algo https://github.com/trailofbits/algo https://github.com/StreisandEffect/streisand https://github.com/StreisandEffect/streisand
- jfim 6y agoJust as a thing to keep in mind, if you're using Algo (or any other vpn software) with a commercial cloud provider, you'll hit more captchas and blocks than usual. For example, going to walmart.com will give a captcha page before being allowed on their website. Some websites will return HTTP 403, and some will just timeout.
- fmajid 6y agohttps://github.com/fazalmajid/edgewalker/ https://github.com/fazalmajid/edgewalker/ (I'm biased, of course, being the author).
- ncmncm 6y agoWireguard Bounce Server setup: <https://news.ycombinator.com/item?id=25447805 https://news.ycombinator.com/item?id=25447805>
- daboosh 6y agohttps://github.com/boosh/dawg https://github.com/boosh/dawg One command, and allows you to shut the server down when you don't need it. I might add support for lightsail too.
- joveian 6y agoI use a Debian OpenVZ based VPS for this and uninstall or disable any services except the one I want (surprisingly this isn't the default :(, check what is listening with "ss -l46n"). The advantage of OpenVZ is that kernel patching is the job of the provider, so if you only have one service listening remotely then you should be ok as long as that service is ok. I use SSH so far since WireGuard isn't supported yet. I also configure SSH to only allow the type of connection I want to use: public key authentication only, ports 80 and 443, plus (on both local and remote sides): Ciphers=chacha20-poly1305@openssh.com KexAlgorithms=curve25519-sha256,curve25519-sha256@libssh.org HostKeyAlgorithms=ssh-ed25519-cert-v01@openssh.com,ssh-ed25519 MACs=hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com Install unattended-upgrades and edit /etc/apt/apt.conf.d/50unattended-upgrades as desired. For SSH proxy, locally set "ALL_PROXY=socks5://127.0.0.1:2000" (with DynamicForward localhost:2000 locally). Or change socks5 to socks5h if you want DNS to be handled on the remote system, however this will prevent uMatrix and other blockers from getting DNS info needed to avoid considering some 3rd party content as 1st party so it is better to set up encrypted DNS locally (I use stubby but with just the provider I want). Many applications check ALL_PROXY these days but not all and I think Firefox needs explicit settings to use the proxy. I use ramnode.com's $15/year OpenVZ and it works great like this for getting an encrypted connection past your local ISP and/or wifi (I think they ask for everyone's ID when you start). There are issues with some websites due to the IP address, but it is not nearly as many as using an annonymous VPN from what I've heard.