VPN

aditya-shriGPL-3.0长期未更新

用 Shadowsocks 和 v2ray 搭建个人 VPN 的脚本工具,帮你快速部署自己的翻墙服务器,摆脱公共 VPN 的不稳定和限速。

Personal VPN using Shadowsocks and v2ray

暂无版本2,403star1,437fork同步于 2026-11-07 07:34 UTC

怎么上手

由 README 提炼,执行前请确认
heroku.com/deploy?template=https://github.com/aditya-shri/VPN
railway.app/new/template/zN4vrb
硬件要求按 README 说明

README 未说明具体硬件或显存要求,部署在 Heroku、Railway 或任意支持 Docker 的服务器上即可

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用 Shadowsocks 加 v2ray 插件自建个人 VPN,一键部署到 Heroku 或 Railway

用 Shadowsocks 和 v2ray 搭建个人 VPN 的脚本工具,帮你快速部署自己的翻墙服务器,摆脱公共 VPN 的不稳定和限速。

核心能力

  • 基于 Shadowsocks 搭配 v2ray-plugin 走 TLS 混淆
  • 提供 Heroku 与 Railway 一键部署按钮
  • 支持 Dockerfile 部署到任意服务器
  • 部署后访问 /qr 扫码或 /ss 链接导入客户端
  • 给出各平台客户端与插件配置说明

容易踩的坑

Heroku 部署需注册账号并验证邮箱,否则收不到验证码;Heroku 上应用被封时需 fork 后重新部署或用 Heroku-CLI 并把 stack 设为 container;客户端需额外安装 v2ray-plugin 并与 Shadowsocks 放在同一目录;必须配置 Domain、Password、PORT 三个环境变量

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Personal VPN

    Based on Shadowsocks with V2-Raу-plugin

    Click the button below to deploy, and remember to Star if it works:

    Heroku

    Railway


    0. Attention

    • Deployment can be done on any server with the help of DockerFile.
    • Heroku Deployment requires registration of a heroku account, a email is required when registering a heroku account (otherwise the verification code cannot be brushed out).
    • If app gets ban on Heroku, try forking and then deploying OR deploy using Heroku-CLI. When deploying using Heroku-cli, remember to set stack to container.

    The environment variables required are:

    Domain   : The domain of your server without the schema(https, http etc). Ex: test.com, not https://test.com
    Password : Password you want to set for the Shadowsocks VPN service
    PORT	 : Server port, if not already defined by server provider(like Heroku,Railway provides)
    

    1. Verification

    After the server is deployed, open app to display the webpage normally. After the address is filled with the path (for example: https://{Domain}/static), the 404 page is displayed, which means the deployment is successful.

    2. Client Configuration

    QR code address:

    https://{Domain}/qr 
    

    (Change {Domain} to your own app server url.)

    Use the client (Shadowsocks recommended) to scan the QR code.

    or

    Use 'ss' address:

    https://{Domain}/ss
    

    (Change {Domain} to your own app server url.)

    Copy the details after opening and import it to the client.

    or

    Manual configuration (Config file):

    {
    	"server" : "{Domain}",
    	"server_port" : 443,
    	"local_port" : 1080,
    	"password":"{password}",
    	"timeout":300,
    	"method":"chacha20-ietf-poly1305",
    	"mode": "tcp_only",
    	"fast_open":false,
    	"reuse_port":true,
    	"no_delay":true,
    	"plugin": "v2raу-plugin",
    	"plugin_opts":"path=/v2;host={Domain};tls",
    	"remarks" : "Private VPN"
    }
    

    Change {Domain} with your server url and {password} with your password.

    3. Clients

    Android

    shadowsocks

    v2-raу-plugin

    Windows

    ShadowSocks-Windows

    V2-Raу Plugin

    Extract and keep v2-raу plugin in the same folder as shadowsocks.

    Linux

    shadowsocks-libev

    V2-Raу Plugin

    Install the shadowsocks library, download and move the v2-raу plugin in '/usr/bin' and use the following command to connect to VPN:

    ss-local -c "config file location on your system"
    

    Then use any proxy script to route your system's requests through your VPN. Ex:

    • Proxy SwitchyOmega : This extension can be used in chrome
    • Polipo : Routes all of the network through your proxy

    Reference Guide for client setup

    Guide

    Reference

    ShadowSocks-libev

    V2-Ray Plugin