How To Set Up a Raspberry Pi 4 with Archlinux 64-bit (AArch64) and Full Disk Encryption (+SSH unlock), USB Boot (No SD-Card) and btrfs
Written by: XSystem
First published on: 20 Dec 2020
Last updated on: 20 Dec 2020
#!/bin/bash | |
# | |
# Requires: wg-quick from wireguard-tools package. | |
# | |
# How to configure: go on your Mullvad account page and download the | |
# Wireguard configuration for all countries. | |
# Unpack the archive at $HOME/.config/mullvad/ | |
# | |
# Then run `mullvad.sh up <2-char country code>` | |
# and `mullvad.sh down` to tear it down. |
version: "3" | |
services: | |
vpn: | |
image: qmcgaw/gluetun | |
container_name: vpn | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- 8888:8888/tcp # HTTP proxy | |
- 8388:8388/tcp # Shadowsocks |