Original link: https://blog.heysh.xyz/2015/01/07/shadowsocks%EF%BC%8Cipv6%E5%92%8C%E4%BE%BF%E5%AE%9C%E7%9A%84vps /
That… I’m still alive.
I flipped through this blog when I couldn’t sleep a few days ago, and the last post was in May last year. Seven months should be the lifetime of many herbs, right? Fortunately, there are trees planted here.
… Forget it in a few days to write a one-page year-end summary to write about these rotten things. Today is a serious technical link, of course, in the form of cutting links.
So first of all, VPS, I used a cheap Bandwagon (bricklayer mover), because I was poor, I only bought the version with 64M memory; because I didn’t have a credit card (poor), I couldn’t use Paypal, so I went to Taobao to find a purchasing agent, and the starting price was 29¥ /Year.
Then shadowsocks, installed according to the method here . According to the statement here , just use the python version of the server.
To look like a technical document, here is /etc/shadowsocks.json
:
{ "server":["[::0]","0.0.0.0"], "server_port":443, "local_address": "127.0.0.1", "local_port":1080, "password":"******", "timeout":300, "method":"aes-256-cfb", "fast_open": false }
update150208: If the “server” line only writes ::0, it is a pure v6 connection…
The last is ipv6, apply for tunnel breaker at he.net, because the cheap VPS can’t move the kernel, so use TB-TUN to build a user-mode tunnel, see~~ here ~~ here and here , and the self-starting script of init.d .
update150409:
Added a link to UStun ; replaced the link to Googlecode
Google ran away with my sister-in-law code! You bastard! You return my sweat code!
In addition, chrome’s SSH is very easy to use, which can be regarded as the gospel for those who have just changed their computers and have not yet bought an SSD to install arch .
update: I heard that the libev version can save memory, and the installation method is here .
update2: I can see from here that you can fly OPENVPN on shadowsocks, so:
Run this on the server:
wget git.io/vpn --no-check-certificate -O openvpn-install.sh; bash openvpn-install.sh
Then set the relay:
iptables -A INPUT -s 10.8.0.0/24 -j ACCEPT iptables -I FORWARD 1 -s 10.8.0.0/24 -j ACCEPT iptables -I FORWARD 2 -d 10.8.0.0/24 -j ACCEPT iptables -I FORWARD 3 -j LOG --log-prefix "FORWARD-LOG " iptables -I FORWARD 4 -j DROP
Copy the .ovpn
file generated in /root/
to this machine, then I found that chrome does not have its own SCP…
Add two lines to the resulting .ovpn
file:
socks-proxy 127.0.0.1 1080 route [SHADOWSOCKS服务器地址] 255.255.255.255 net_gateway
Then go to the client , don’t be cheap and click on the xp version, otherwise you won’t have time to do homework this afternoon~
If the windows shadowsocks client supports UDP forwarding, this is the end point, otherwise, please modify the .ovpn
file ( etcopenvpnserver.ovpn
) of the local machine and the server to tcp mode.
8.23: I would like to pay tribute to the leaders with this blog post. In the cold night, you bring us a little light.
This article is reproduced from: https://blog.heysh.xyz/2015/01/07/shadowsocks%EF%BC%8Cipv6%E5%92%8C%E4%BE%BF%E5%AE%9C%E7%9A%84vps /
This site is only for collection, and the copyright belongs to the original author.