This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note: can also just install nerdctl-full | |
sudo apt-get update | |
sudo apt-get install containerd iptables | |
wget https://github.com/containerd/nerdctl/releases/download/v2.0.1/nerdctl-2.0.1-linux-amd64.tar.gz | |
tar -zxf nerdctl-*-linux-amd64.tar.gz nerdctl | |
sudo mv nerdctl /usr/bin/nerdctl | |
rm -rf nerdctl* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a file named user userconf (or userconf.txt) containing the following: | |
pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0 | |
Place userconf (or userconf.txt) plus an empty file named ssh (or ssh.txt) in the BOOT (FAT32) partition of the SD card. | |
Insert the SD card in the Raspberry Pi and it should boot with access to user 'pi' (password : raspberry) via SSH. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is largely based on the tinc@ service-idea. | |
# Both files belong in /lib/systemd/system/ | |
# Enable it, systemctl enable wg-quick, then enable configurations (ie, /etc/wireguard/wg0.conf) | |
# systemctl enable wg-quick@wg0 | |
[Unit] | |
Description=Wireguard VPN | |
After=network-online.target | |
Wants=network-online.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Interface] | |
PrivateKey = <Output of privatekey file that contains your private key> | |
Address = 203.0.123.12/24, fd86:ea04:1115::5/64 | |
[Peer] | |
PublicKey = <Server Public key> | |
Endpoint = <Server Public IP>:51820 | |
AllowedIPs = 203.0.123.12/24, fd86:ea04:1115::5/64 |