Set of scripts to easy setup proxy or VPN on your own server.
Currently supported only Shadowsocks with V2Ray extension.
Shadowsocks is fast and lightweight proxy protocol. However it could be detected via DPI and blocked by your ISP/government/etc. So it's better to use some obfuscation, to hide it's usage.
V2Ray allows to mask your traffic, hiding it via TLS. In this case, Shadowsocks traffic are wrapped into Websocket over HTTPS. From DPI view it looks as legit HTTPS traffic.
To get free SSL certificate we use Let's Encrypt and certbot
tool.
Assumed what you already has a server and domain or subdomain, with correct A/AAAA DNS record, that points to your server.
- Clone project and go to
shadowsocks
directory. - Replace example domain in all config files by your own domain. For example, you can use this command:
sed -i -e 's/example\.com/yourdomain\.com/g' *
- Execute
start.sh
script and wait until SSL certificate will be issued. - Import config to your Shadowsocks client:
client-shadowsocks-libev.conf
for Linux andclient.conf
for other platforms.
- Download Windows GUI client and install it.
- Download and unpack V2Ray plugin executable. Rename it to
v2ray-plugin.exe
and put to Shadowsocks folder.
You can use shadowsocks-libev
.
You can use ShadowsocksX-NG. However, it's not maintained, so you can setup raw Shadowsocks server and use Outline client.
- Download and install Shadowsocks for Android
- Download and install v2ray-plugin for shadowsocks-android
You can install Shadowrocket. It supports V2Ray out of box.