Grundpakete installieren

sudo apt-get install build-essential cmake pkg-config libnl-genl-3-dev libnl-3-dev
cd /opt/
sudo git clone https://github.com/wlanslovenija/tunneldigger.git
cd tunneldigger/client/

sudo cmake .
sudo make

Kernel-Module laden

sudo nano /etc/modules
l2tp_eth

Dienste anlegen/starten

sudo nano /etc/systemd/system/tunneldigger.service
[Unit]
Description=Tunneldigger-client
After=syslog.target network.target

[Service]
Type=simple
User=root
Group=root
PIDFile=/run/tunneldigger.pid
ExecStart=/opt/tunneldigger/client/tunneldigger -u "%H" -b 1.vpn.freifunk-gera-greiz.de:20181 -b 2.vpn.freifunk-gera-greiz.de:20181 -b 3.vpn.freifunk-gera-greiz.de:20181 -i mesh-vpn-l2tp-1 -a
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable tunneldigger.service
sudo systemctl start tunneldigger.service