This simple rules of iptables enough for VPS/VDS Linux-based server for usage him as transparent proxy. Create new file for Bash script and put into this file the next text.
Checking major Debian’s version:
Navicat client can’t connect to the MySQL server via SSH tunnel. This happens on the Navicat 8. Possible it’s true for all old versions.
Error: Server does not support diffie-hellman-group1-sha1 for keyexchange.
Installing Nginx frontend in Debian server. At first, i want to say what for different Debian builds is available own the maximal revision. Example, Debian 8.0 supporting only Nginx 1.6.2 revision. For getting the actual revision you need upgrade your system up to maximal stable version (if you uses oldest version).
Also, keep in mind what Nginx server don’t updating independently and you need updating manually. Before updating you need delete the old version (do backup all configs) and after to install the new version and restore backup.