Skip to content

Quickly set up an IPv6 proxy through Shadowsocks, V2Ray plugin, Nginx and Cloudflare.

License

Notifications You must be signed in to change notification settings

agoldcheidt/v2ray-ipv6-proxy-tls-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

V2Ray IPv6 Proxy TLS

Quickly set up an IPv6 proxy through Shadowsocks, V2Ray plugin, Nginx and Cloudflare. Android client only.

Source Post

This bash script is based on this post. However, the "Let's Encrypt SSL Certificate" steps are not included, I use a Cloudflare Flexible SSL Certificate and I assume you do that as well.

Before You Use This Script You Must Have:

  • A VPS under Ubuntu 20.04 OS with a IPv6 address.
  • A domain name or sub-domain added on a Cloudflare account.
  • A "AAA" record of the VPS IPv6 added into Cloudflare account.

Pre-Dependencies

In order to execute this script, no web servers must be previously installed. On my end, Ubuntu 20.04 comes with Apache as pre-installed web server, if that's your case, you need to uninstall apache and install curl. You can do all this by executing:

sudo apt remove --purge apache2 -y && sudo apt install curl -y

Quick Usage

You can execute this script on-the-fly by executing:

curl -s https://raw.githubusercontent.com/agoldcheidt/v2ray-ipv6-proxy-tls/main/ipv6-proxy | bash -s yourdomainname

Replace yourdomainname with your current domain name or sub-domain.

IPv6-Proxy

Changing Default Settings

Since this is a very simple script you can change its settings with the sed command.

  • Default Shadowsocks Password: pass1234
  • Default V2Ray Location: /fiberweb

To change the default password you can execute:

sed -i "s/pass1234/mypassword/g" /etc/shadowsocks-libev/config.json && sudo systemctl restart shadowsocks-libev

Replace mypassword with your custom password.

To change the default V2Ray location you can execute:

sed -i "s/fiberweb/myrandomwords/g" /etc/shadowsocks-libev/config.json && sudo systemctl restart shadowsocks-libev
sed -i "s/fiberweb/myrandomwords/g" /etc/nginx/sites-available/default && sudo systemctl restart nginx

Replace myrandomwords with your custom location.

Ubuntu 20.04 Only

During development, I've tested this script on Debian Buster/Bullseye based on KVM/NAT VPS instances from several web hosting providers, all the tests failed on Debian. For the meantime, I recommend Ubuntu 20.04 OS only.

Android Client Only

To connect through this IPv6 proxy, you must install Shadowsocks and V2Ray plugin (both by Max Lv.) in your android device. Check the "Configure Client" section in the Source Post.

IPv6-Proxy-Android

Credits

All credits goes to the Source Post and all the great community behind it. Many thanks to WebHorizon for provide high-speed and reliable VPS instances located on Japan and Poland.

Support my project at: https://paypal.me/AlexGoldcheidt

 

About

Quickly set up an IPv6 proxy through Shadowsocks, V2Ray plugin, Nginx and Cloudflare.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages