How to Quickly Build A Robust VPN

This page is aimed for introducing the way to quickly build a robust VPN through Trojan protocol. Do not use VPN to do things that may do harm to others, especially illegal.

1. Prepare a server with Debian. You can rent an VPS or self-build your personal server.

2. Use SSH to login your remote server. You can configure to use SSH without typing your server's password. Here are some bash commands of configuration provided for reference:

ssh-keygen
ssh-copy-id username@hostname

3. Build your VPN through Trojan protocol. After you login your server, you can paste commands below. Follow the guidence.  Keep selecting the first option if you do not know what you are dealing with. After installation, it is prefered to change the port that Trojan is using, by which you can enhance the VPN's robustness.

apt-get update -y && apt-get install curl -y
source <(curl -sL https://git.io/trojan-install)
# This is a fork from Jrohy, if the previous link is unaccessible, you may try it.
# source <(curl -sL https://raw.githubusercontent.com/Arshdelight/trojan/master/install.sh)

4. BBR accelerate. This procedure would accelerate your net connection.

source <(curl -sL https://git.io/kernel.sh)
# This is a fork from jinwyp, if the previous link is unaccessible, you may try it.
# source <(curl -sL https://raw.githubusercontent.com/Arshdelight/BBRaccelerate/master/install_kernel.sh)

5. Warp. This procedure would make it possible for your VPN to visit more websites such as Netfix, Google Scholar etc.

source <(curl -sL https://git.io/warp.sh) d
# This is a fork from P3TERX, if the previous link is unaccessible, you may try it.
# source <(curl -sL https://raw.githubusercontent.com/Arshdelight/warp.sh/main/warp.sh) d

Last, if you are uncertain about how to maintain stability, avoid deploying any additional services on this server, as they could easily cause issues.

评论

此博客中的热门博文

移动硬盘+miniconda:可以带着走的Python虚拟环境

我推荐的python使用环境:conda + vscode

CaImAn(Python版)的使用