as an OpenWrt and proxy beginner, I've spent quite a lot of time figuring out how to set up shadowsocks on OpenWrt due to many outdated guides, how-tos and forum discussions. Thus, here's a summary on how to install and setup shadowsocks on a fresh OpenWrt installation:
Additional steps required for shadowsocks on a NanoPi R2S:
The NanoPi R2S is a cheap little device with two ethernet ports that can easily be plugged between the modem and wifi router to provide tunneling service to your entire network, even if the wifi router doesn's support OpenWrt (or you don't want to change it due to warranty reasons). Unfortunately, at the time of writing, the operating system shipped with the NanoPi (FriendlyWrt fork of OpenWrt) has some issues and doesn't allow an easy installation of shadowsocks. The packages kmod-ipt-tproxy and iptables-mod-tproxy are missing from the release repositories and need to be downloaded and installed manually. Follow the instructions in this post: -711164213
Hi there
I have a question about shadowsocksI use Shadowsocks on my router (Archer C60 V2) and it works Flawlessly!! When I restart my router, I have to go to system/startup and after restart shadowsocks-libev my router back online
Is there a way that shadowsocks works without restart in the startup section after every restarting router?
Thank You
Untitled1346583 36.5 KB
You are right, I reproduced the issue some times ago, and I had the same conclusion. My shadowsocks-rust client was not supporting TLS and I had the same errors in the Traefik logs (which is confirmed by the Traefik logs, saying that there is an error during the TLS client hello).
And my shadowsocks client still complains with ERROR: invalid password or cipher and Traefik still complain with level=debug msg="http: TLS handshake error from XXX.XXX.XXX.XXX:XXXXXX: tls: first record does not look like a TLS handshake"
I followed this instruction video on Youtube and did exactly what he did but on mac and different server locations. Somehow I cannot connect to the internet after I turn on shadowsocks. please help me.
As you may already know, you can use VPN (Virtual Private Network) to bypass firewall and protect your anonymity on the web. Do you need another software like shadowsocks to do the same? One thing you can find is that When you are using VPN, all your Internet traffic is routed through VPN. Because VPN servers are usually located outside your country, this can slow down your Internet speed especially when you are visiting websites inside your country.
There are many ways to install shadowsocks on Linux server, but I will show you the easiest way. First, install python pip and then use pip to install shadowsocks. m2crypto will make encryption a little faster.
The most important factor here is your server location and Internet speed of your ISP. For example, I live in China and have shadowsocks server located in the United States. Although my server has fast connection to Youtube.com, but because the speed between me and my server is slow, so the overall speed between me and Youtube.com is slow.
The solution is that I rented another VPS located in Hong Kong and built a shadowsocks server on it. The speed between me and the server in HK is fast and HK server has fast connection to Youtube.com, so I can now view Youtube videos in 720p without hiccups.
You should be able to get decent speed for YouTube from your USA server if you install a TCP congestion avoidance algorithm such as serverspeeder or bbr. Here is a tutorial showing how to set up a shadowsocks server with bbr.
What are the drawbacks of using Shadowsocks proxy instead of a private Tor bridge? The only issue that I can think of is that a Tor bridge would provide a higher level of obfuscation between my PC and VPS than v2fly-websocket+shadowsocks or plain shadowsocks. Am I missing anything?
Short answer is no. Purpose of shadowsocks is to obfuscate traffic so that Chinese GFW cannot recognize the pattern to bypass it. It is not designed for security purpose. In fact from security perspective, it is poorly designed.
The Shadowsocks client can be controlled with an instance of shadowsocks@.service (shadowsocks) or shadowsocks-libev@.service (shadowsocks-libev) through systemctl. To use the configuration file /etc/shadowsocks/config.json, start and enable shadowsocks-libev-server@config.service or shadowsocks-server@config.service.
The Shadowsocks server can be controlled with an instance of shadowsocks-libev-server@.service (shadowsocks-libev) or shadowsocks-server@.service (shadowsocks). To use the configuration file /etc/shadowsocks/config.json, start and enable shadowsocks-libev-server@config.service or shadowsocks-server@config.service.
Thanks you very much for your efforts. I am very new to Linux and have no ideas how to set up shadowsocks server at all. What you posted has helped me a lot. However, I wonder if the service is automatically run every time I turn on my PC? If yes, how to stop it? And do I have to configure my modem or router? I used WIFI connection between my desktop and the router, do I have to use cable instead?
df19127ead