This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Interface] | |
| Address = 10.200.200.3/32 | |
| PrivateKey = [Client's private key] | |
| DNS = 8.8.8.8 | |
| [Peer] | |
| PublicKey = [Server's public key] | |
| PresharedKey = [Pre-shared key, same for server and client] | |
| Endpoint = [Server Addr:Server Port] | |
| AllowedIPs = 0.0.0.0/0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get remove docker docker-engine docker.io containerd runc | |
| apt-get install ca-certificates curl gnupg lsb-release | |
| mkdir -p /etc/apt/keyrings | |
| curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
| echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
| apt update | |
| apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| # ========================================== | |
| # psocks 多功能管理脚本 (Install / Update / Uninstall) | |
| # ========================================== | |
| REPO="NNdroid/psocks-build" | |
| CONFIG_DIR="/usr/local/etc/psocks" | |
| LOG_DIR="/var/log/psocks" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ==================================================== | |
| # TLSVPN + Lego Cert (自适应支持域名和IP) + TCP Brutal | |
| # ==================================================== | |
| # 1. 权限检查 | |
| if [ "$EUID" -ne 0 ]; then | |
| echo -e "\033[31m错误:请使用 root 用户运行此脚本!\033[0m" | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # mproxy-mod 一键安装与卸载脚本 | |
| # 支持架构: Linux amd64 (x86_64) | |
| set -e | |
| # 全局变量 | |
| BIN_URL="https://github.com/NNdroid/mproxy-mod/raw/refs/heads/main/mproxy" | |
| BIN_PATH="/usr/local/bin/mproxy" |
OlderNewer