1. 程式人生 > >【Easy and Fast】ShadowSocks' Configuration in Server

【Easy and Fast】ShadowSocks' Configuration in Server

Hey, guys. Maybe you’re interested in why am I writing my blog article in English this time. Ha ha… Just try new things, with passionate heart…

Okay, right now, Here we go!

As you known, you got some complicated ways in searched engine… You had to do a lot of things, but they are unnecessary…

Now, I’ll teach you the most simple way to get it done!

I learnt a lot of precious things from this time, like you need to think more before you do something…Not using the Google or Baidu every time you encounter a problem.

Server: (As you see, but other type of server is okay with the same way.)

Ubuntu

Then, login to your server with “xxx.pem” file. Although it’s more safer and recommended, but it’s not easy for us to learn.

Digression:(Login with ssh)

With command locate ssh, you get a list of ssh related: ssh Then you see ssh_config, here you go: sudo vim /etc/ssh/ssh_config or sudo vim /etc/ssh/sshd_config

Last, uncomment the PasswordAuthentication yes, and all are done.

Steps:
sudo apt update
sudo apt upgrade
sudo apt install shadowsocks //or shadowsocks-libev
locate shadowsocks  //or sudo find / -name shadowsocks

Then you see that configuration file is in /etc/shadowsocks/ :config.json ss Open and edit it to: ss

Instruction:
  • If both of your server and client are deployed on Linux 3.7.1 or higher, you can turn on fast_open for lower latency.
  • Remember to restart your service: service shadowsocks restart Congratulation! Then you can use shadowsocks in your Desktop now!