Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing ...
SSH as a quick and cheap VPN using tsocks
sudo ap-get install tsocks -y
Once installed, edit config file
Go all the way down and replace, server with your loopback IP and server port, ...
Start and Stop service Motion from crontab
Create a cron job
cd /etc/init.d && motion start
Then create another one to kill it at determinated time.
killall motion &&
chmod 777 -R /var/Vol1/Motion/
chmod 777 -R /var/Vol1/Motion/;