IIS – Add the X-Forwarded-For field in the logs

In this tutorial, I will explain how to add the X-Forwarded-For field in the IIS logs, in order to retrieve the real IP address of a visitor when a reverse proxy is upstream of the IIS server. On the IIS Web server, open the Internet Services Management console. Select server 1 and click Logging 2. …

Read more



GPO: configure default programs

In this tutorial, I will explain how to configure the default applications (browser, PDF reader…) using a Group Policy (GPO) in an Active Directory environment. Puzzle of IT services, it is the use of default programs for certain types of files (PDF, Images) or even Internet browser, the configuration of such a group strategy allows …

Read more



Ubuntu: enable the firewall and manage it with UFW

In this tutorial, I will explain how to activate the firewall on a computer with Ubuntu and manage it with UFW. UFW for Uncomplicated Firewall is a simplified Netfilter command line utility, it is a simple alternative to iptables, which allows to manage firewall rules. If UFW is not installed, use the following command to …

Read more



Ubuntu: configure systemd log size

In this tutorial, we will see how to configure the size of systemd logs on an Ubuntu distribution. By default, the logs located in the /var/log/journal folder can take several gigabytes of disk space. As can be seen from the screenshot below, the logs take up 4 Giga of disk space. The configuration of the …

Read more



Nginx: get the visitor’s real IP with CloudFlare

In this tutorial, I will explain how to get the real IP address of visitors using CloudFlare services and an Nginx web server. What I will explain to you in this tutorial is valid when Nginx is used as a front-end web server or as a reverse proxy. By default, when using CloudFlare in Proxy …

Read more



Ubuntu 20.04: add swap space

In this tutorial, I will walk you through how to add swap space on Ubuntu 20.04 and above. A swap space on Linux is a location on the disk, which allows the OS to load the random access memory (RAM), on Windows we find this type of file pagefile.sys By default, on server versions of …

Read more