User Tools

Site Tools


nounours-tunnels

This is an old revision of the document!


Nounours-Amager tunnels

Two tunnels exist between Nounours (my main router) and Amsat (The OZ7SAT group's SatNOGS groundstation at Amanger):

  1. The main tunnel, the purpose of which is to enable management access to AMSAT
  2. The backup tunnel, which primarily exists because the main tunnel that uses Wireguard from time to time stops working. I can then use the backup tunnel to access Amsat and remedy the situation.

The main tunnel

The main tunnel uses Wireguard:

Configuration

The two ends have almost identical configurations found at

/etc/systemd/network/wg0.net{dev|work}
Management

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

The backup tunnel

The backup tunnel uses OpenVPN:

Configuration

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.

Management

Nounours:

systemctl [start|stop|restart|status] openvpn-server@server.service

Amsat:

systemctl [start|stop|restart|status] openvpn-server@client.service
nounours-tunnels.1697829314.txt.gz · Last modified: 2023/10/20 19:15 by bent