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.