Rsync server on Debian

Create/edit the Rsync server configuration file :

Here is my configuration file:

Note that this configuration file is a bit specific as :
– Rsyncd is only listening to the VPN interface
– There is not authentification (as we are in a “safe” environment)

Create the folder :

And adjust the owner :

We can now start the server :

Check that it’s started :

You should have something like :

To start rsyncd automatically, edit the following file :

And adjust the parameters as follow :

From a remote host, we can test the connection :

Ready to sync !

Secure http traffic with Let’s Encrypt on Debian

Configuring HTTPS on debian with Nginx and Let’s Encrypt is now really easy.

Let’s install required software :

Then start the configuration process :

Continue reading Secure http traffic with Let’s Encrypt on Debian

Zabbix server on Debian

1. Installation

2. Configuration

Continue reading Zabbix server on Debian

Zabbix agent : monitor Debian updates

Enable periodic updates

Edit the file:

And check that it as follow:

Zabbix agent configuration

Continue reading Zabbix agent : monitor Debian updates

IPsec XAuth VPN server on Raspberry Pi behind a NAT

The goal is to setup a secured tunnel to allow road warriors to securely access our home LAN with Android native client.

1. Software installation

Install strongswan IPsec server :

Continue reading IPsec XAuth VPN server on Raspberry Pi behind a NAT

OpenVPN client on Debian

Now that the server is ready, let’s switch on the client side !

1. Software installation

Install OpenVPN :

2. Configuration

Copy the client configuration sample in the working directory :

Continue reading OpenVPN client on Debian

OpenVPN server on Debian

1. Software installation

Install OpenVPN and Easy-RSA :

2. Configuration

Copy the sample configuration file :

Continue reading OpenVPN server on Debian

Pre-configure Wifi on a headless Raspberry Pi Zero

After setting up the OS on the memory card, you should have 2 partitions mounted from your memory card :
– Boot partition
– Root partition

On the root partition, edit the wpa supplicant configuration file :

And add the following lines at the end of the file :

Adjust the SSID and password, and you’re done.