Skip to content

Instantly share code, notes, and snippets.

@rgnldo
rgnldo / vpn.md
Created June 3, 2022 17:54 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
#!/bin/sh
#
# p2partisan v6.09 (06/02/2019)
#
# Official page - http://www.linksysinfo.org/index.php?posts/235301/
#
# <CONFIGURATION> ###########################################
# Adjust location where the files are kept
P2Partisandir=/cifs1/p2partisan
#
[ -f /tmp/deaggregate.sh ] ||
{
opens=$(which openssl || which openssl11)
b64="$opens enc -base64 -d"
[[ "$(echo WQ==|$b64)" != "Y" ]] && b64="b64"
nginx -V
nginx version: nginx/1.17.5 (x86_64-pc-linux-gnu)
built with OpenSSL 1.1.1d 10 Sep 2019
TLS SNI support enabled
configure arguments: --target=aarch64-openwrt-linux --host=aarch64-openwrt-linux --build=x86_64-pc-linux-gnu
--program-prefix= --program-suffix= --prefix=/opt --exec-prefix=/opt --bindir=/opt/bin --sbindir=/opt/sbin
--libexecdir=/opt/lib --sysconfdir=/opt/etc --datadir=/opt/share --localstatedir=/opt/var --mandir=/opt/man
--infodir=/opt/info --disable-nls --crossbuild=Linux::aarch64 --prefix=/opt --conf-path=/opt/etc/nginx/nginx.conf
--with-http_ssl_module --add-module=/media/ware3/Entware.2020.01/build_dir/target-aarch64_cortex-a53_glibc-2.27/nginx-no-ssl/nginx-1.17.5/nginx-naxsi/naxsi_src
--add-module=/media/ware3/Entware.2020.01/build_dir/target-aarch64_cortex-a53_glibc-2.27/nginx-no-ssl/nginx-1.17.5/lua-nginx
user nobody;
worker_processes 1;
error_log /opt/var/log/nginx/error.log;
#error_log /opt/var/log/nginx/error.log notice;
#error_log /opt/var/log/nginx/error.log info;
#pid /opt/var/run/nginx.pid;