Fuck GFW with Synology
First of all, you need to SSH to your Synology which is the easiest part.
If you have some problems, please figure out them by Google
Install ShadowSocks
- Install Python from Package Center
-
SSH to your Synology
- Install pip and shadowsocks
- Create shadowsocks config /etc/shadowsocks.json
- start shadowsocks in background
Convert Shadowsocks into HTTP proxy
- Install Privoxy
The tool is Privoxy, but you may need install ipkg first. If you are using DS214, you could follow https://gist.github.com/marlun78/9349792, otherwise your could google it.
By the way, install ipkg for DS214 is not easy, honestly, this is the hardest part of this article. It maybe easier if you are using x86 or other artitecture instead of ARM.
Once you are ready, you could install Privoxy by typing ipkg install privoxy
- Config Privoxy
Edit etc/privoxy/config
- Start Privoxy with
privoxy /etc/privoxy/config
For now, you could use http proxy from your other devices.
And, of course we can always make it better.
Host a pac file to identify which sites need proxy and which don’t is a good idea. For me, I just export a pac file from my SwitchyOmega for Chrome. Works for me.
One more thing, if you are using Apple TV, you can add http proxy with Apple Configuarator.
How to install a configuration profile on Apple TV - Apple Support
Enjoy~~
Some Reference