Changing default SSH port

By default, the SSH port is set to 22. Locate the following line in the file /etc/ssh/sshd_config: #Port 22 Remove # and change 22 to your desired port number. Though make sure you do not...
Read More

Restoring visitors IP with mod_remoteip

Using EasyApache, install Apache Mod_RemoteIP ( ea-apache24-mod_remoteip ). Edit the conf file : nano /etc/apache2/conf.modules.d/370_mod_remoteip.conf RemoteIPHeader CF-Connecting-IP RemoteIPTrustedProxy 103.21.244.0/22 RemoteIPTrustedProxy 103.22.200.0/22 RemoteIPTrustedProxy 103.31.4.0/22 RemoteIPTrustedProxy 104.16.0.0/13 RemoteIPTrustedProxy 104.24.0.0/14 RemoteIPTrustedProxy 108.162.192.0/18 RemoteIPTrustedProxy 131.0.72.0/22 RemoteIPTrustedProxy 141.101.64.0/18 RemoteIPTrustedProxy 162.158.0.0/15...
Read More