Set up your own Shadowsocks IPv6 server

shadowsocks server ipv6
shadowsocks ipv6 configuration

Shadowsocks IPv6 Server Setup

If you want to set up your own Shadowsocks IPv6 server,you can refer to this guide:

Prerequisite:

Server OS: UBUNTU 16.04 LTS, or UBUNTU 18.04 LTS, CENTOS 6.X, CENTOS 7.X;
IPv6 address assigned to server;
Rent a DigitalOceanserver, ,DO’s servers are all assigned IPv6 address, at least the servers in North America;

Once your server is online;
Log in your server;
Write down its IPv4 and IPv6 addresses respectively;
or type in command “ifconfig”, take notes of the ipv4 and ipv6 addresses;

Go to Teddy Sun’s auto installation script page,install Shadowsocks per the instructions. Or you can install it step by step, but trust me, that script saves you a lot of time.

If you don’t understand Chinese, use Google Translate on that page, or simply downloads the script from the source here.

Don’t forget to change its mode, then execute it.

chmod +x shadowsocks.sh
./shadowsocks.sh 2>&1 | tee shadowsocks.log

after installation,open Shadowsocks configuration file;
vi /etc/shadowsocks.json

use this template for your own port number and password:
{
“prefer_ipv6”: true,
“server”:”::”,
“local_address”:”127.0.0.1″,
“local_port”:1080,
“port_password”:{
“8989”:”yourpassword0″,
“10001”:”yourpassword1″,
“10002”:”yourpassword2″,
“10003”:”yourpassword3″,
“10004”:”yourpasswor4″
},
“timeout”:300,
“method”:”aes-256-cfb”, //or any other encryption method;
“fast_open”: false
}

Save the configuration file

Now restart Shadowsocks;
/etc/init.d/shadowsocks restart

Confirm that Shadowsocks is running;
/etc/init.d/shadowsocks status

The next step is to configure Shadowsocks client.

Shadowsocks IPv6 client setting:

Open the Shadowsocks client, add 2 Shadowsockss proxy server, one with IPv6 address, the other with IPv4 address, all other settings are the same.

For example, adding a IPv6 address according to this format:

Server address
2607:5300:60:62a7::

Note that the server address is ended with “::”, there is nothing after it.

A real IPv6 example below:
server address:2607:5300:60:62a7:: //this is the IPv6 address assigned to the server
server port:your port # here
server password:your password here
encryption method: encryption method you select

A IPv4 example below:
server address:1.2.3.4 //this is the IPv4 address assigned to the same server
server port:your port # here, same as the above
server password:your password here, same as the above
encryption method: encryption method, same as the above

Be the first to comment

Leave a Reply

Your email address will not be published.


*