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
cd /tmp
pip install shadowsocks
  • Create shadowsocks config /etc/shadowsocks.json
"server": "SERVER",
"server_port": 8888,
"local_address": "",
"local_port": 1080,
"password": "PASSWORD",
"timeout": 300,
"method": "aes-256-cfb",
"fast_open": false
  • start shadowsocks in background
sslocal -c /etc/shadowsocks.json -d start --pid-file /tmp/ --log-file /tmp/sslocal.log

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, 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

forward-socks5   /      .
# change the ip to your nas ip

#local network do not use proxy
forward 192.168.*.*/ .
forward 10.*.*.*/ .
forward 127.*.*.*/ .
  • 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



Some Reference