Nounours (my main router) has a number of tunnels:
Two tunnels exist between Nounours and Amsat (The OZ7SAT group's SatNOGS groundstation at Amanger):
The two ends have almost identical configurations found at
/etc/systemd/network/wg0.net{dev|work}
The tunnel interfaces are managed as part of systemd-networkd and will be brought up and down with the entire network. If needed an individual interface may be restarted (brought down and back up again) using these commands:
ip link delete dev wg0 networkctl reload
Nounours:
/etc/openvpn/server/server.conf
Amsat
/etc/openvpn/client/client.conf
The client end runs continously whereas the server end at Nounours only runs as needed.
Nounours:
systemctl [start|stop|restart|status] openvpn-server@server.service
Amsat:
systemctl [start|stop|restart|status] openvpn-server@client.service
This interface is the endpoint for a tunnel from my laptop to Nounours.
The Nounours configuration is found at
/etc/systemd/network/wg1.net{dev|work}
It uses IP addresses 172.19.0.1 (Nounours) and 172.19.0.2 (Laptop)
The wg2 interface is the endpoint for a tunnel from Nounours to the RigPi unit located in Amager
The Nounours configuration is found at
/etc/systemd/network/wg2.net{dev|work}
It uses IP addresses 172.20.0.1 (Nounours) and 172.20.0.2 (RigPi) Similarly, the RigPi configuration is located
/etc/systemd/network/wg0.net{dev|work}
on the RigPi.