Good news – VMware tools installation got way easier since Ubuntu 16.04 x64 and Debian 8 x64 😉 just do the following:
1) Install open-vm-tools from repository:
apt-get install open-vm-tools
2) Profit :), well maybe reboot first 😉
Well it's fairly self explanatory - you are running any service that needs customer's real IP address and now you have a problem - it shows only the proxy address of CloudFlare, this is especially painful when you do for example access restrictions (IP restrictions) via .htaccess file.
So how to fix this on Debian 7?
Btw. the # means you need to be root just fyi...
1) Check for dependencies:
# apt-get install libtool apache2-threaded-dev
2) wget the necessary files:
# wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
(Just Read more [...]