Skip to content
forked from aditya-shri/VPN

Personal VPN using Shadowsocks and v2ray

License

Notifications You must be signed in to change notification settings

luyangliu616/VPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal VPN

Shadowsocks+V2Ray-plugin

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

Deploy

0. Attention

Deployment can be done on any server with the help of Docker.

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).

The environment variables required now are:

Domain   : The domain of your server without the schema(https, http etc)
Password : Password you want to set for the Shadowsocks VPN service

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://test.herokuapp.com/static), the 404 page is displayed, which means the deployment is successful.

2. Client Configuration

QR code address: https://{Domain}/qr/vpn.png

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

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

or

Use Configuration 'ss' url -> Address: https://{Domain}/qr/

(Change {Domain} to your own app name) 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": "v2ray-plugin",
	"plugin_opts":"path=/v2;host={Domain};tls",
	"remarks" : "Private VPN"
}

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

Clients

Android

shadowsocks

v2ray-plugin

Windows

https://github.com/shadowsocks/shadowsocks-windows/wiki/Shadowsocks-Windows-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E

Linux

shadowsocks-libev Install the library and use the following command to connect to VPN:

ss-local -c "local config file location"

Then use any proxy script to route request 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

https://hub.docker.com/r/shadowsocks/shadowsocks-libev

https://github.com/shadowsocks/v2ray-plugin

About

Personal VPN using Shadowsocks and v2ray

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.1%
  • Dockerfile 20.9%