![]() ![]() Build shadowsocks and you will get at least 2 binaries: sslocal and ssserver. Also, make sure to use SOCKS5 proxy in SwitchyOmega, since we have only one HTTP proxy instance. shadowsocks is a fast tunnel proxy that helps you bypass firewalls. To avoid configuration conflicts, copy Shadowsocks to a new directory and choose a different local port. Your connection details will be listing the IP address of your VPS server instead of the IP of your client device.Ĭongratulations! You have successfully set up Shadowsocks on your VPS. If you want to manage multiple servers using other tools like SwitchyOmega, you can start multiple Shadowsocks instances. You can test it directly by using curl in the terminal Then we can start/enable the client by issuing below command Nano /etc/shadowsocks-libev/local-config.json Ufw allow proto tcp to 0.0.0.0/0 port 8388 comment “Shadowsocks”Ĭreate the client-side configuration file local-config.json and paste the contents shown below into the file Nano /etc/systemd/system/rviceĮxecStart=/usr/local/bin/ss-server -c /etc/shadowsocks/shadowsocks.json -a shadowsocks -v startĮxecStop=/usr/local/bin/ss-server -c /etc/shadowsocks/shadowsocks.json -a shadowsocks -v stopĪllow the port 8388 in the server firewall # for low-latency network, use cubic insteadĬreate a systemd file rvice and paste the contents shown below into the file # turn on TCP Fast Open on both client and server side # max timewait sockets held by system simultaneously # turn off fast timewait sockets recycling Paste the contents shown below in bold into the file:Ĭreate the nf system optimization file by running: nano /etc/sysctl.d/nf Libsodium-dev git python3-m2crypto libc-ares-devĬhange the directory to /opt and download the Shadowsocks Git:Īdduser –system –no-create-home –group shadowsocksĬreate a directory for the configuration file:Ĭreate the Shadowsocks configuration file shadowsocks.json by running: Now let’s jump into how to install shadowsocks.īefore we begin, update your system by running the below command:Īpt install -y –no-install-recommends gettext build-essential autoconf libtool libpcre3-dev \Īsciidoc xmlto libev-dev libudns-dev automake libmbedtls-dev \ We are using Shadowsocks-libev package on Ubuntu server for setting the shadowsocks server. It is not a VPN per say, but it can act like a VPN to protect you by encrypting your internet data. Shadowsocks is used to encrypt the data between client and server communication. It is also a lightweight, fast and Flexible Encrypted Socks5 proxy. Shadowsocks is a fast tunnel proxy that helps you bypass firewalls and block certain websites and web protocols. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |