nounours-tunnels
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| nounours-tunnels [2023/10/20 18:32] – created bent | nounours-tunnels [2025/08/07 15:05] (current) – [The backup tunnel] bent | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Nounours tunnels ====== | ||
| - | ====== Nounours-Amager tunnels | + | Nounours (my main router) has a number of tunnels: |
| - | + | - Tunnels to OZ7SAT at Amager | |
| - | Two tunnels exist between Nounours | + | - Tunnel ' |
| + | - Tunnel to Rigpi at Amager - Interface : wg2 | ||
| + | ===== 1 - Tunnels to OZ7SAT | ||
| + | Two tunnels exist between Nounours and Amsat (The OZ7SAT group' | ||
| - The main tunnel, the purpose of which is to enable management access to AMSAT | - The main tunnel, the purpose of which is to enable management access to AMSAT | ||
| - | - The backup tunnel, which primarily exists because the main tunnel that uses Wireguard from time to time stops working. | + | - The backup tunnel, which primarily exists because the main tunnel that uses Wireguard from time to time stops working. |
| - | + | ||
| - | ===== The main tunnel ===== | + | |
| - | ===== The backup | + | ==== The main tunnel ==== |
| + | The main tunnel uses Wireguard: | ||
| + | {{ : | ||
| + | == Configuration == | ||
| + | The two ends have almost identical configurations found at | ||
| + | / | ||
| + | == 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: | ||
| + | / | ||
| + | Amsat | ||
| + | / | ||
| + | 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-client@client.service | ||
| + | ===== 2 - The tunnel ' | ||
| + | This interface is the endpoint for a tunnel from my laptop to Nounours. | ||
| + | == Configuration == | ||
| + | The Nounours configuration is found at | ||
| + | / | ||
| + | It uses IP addresses 172.19.0.1 (Nounours) and 172.19.0.2 (Laptop) | ||
| + | ===== 3 - The tunnel to RigPi ===== | ||
| + | The wg2 interface is the endpoint for a tunnel from Nounours to the RigPi unit located in Amager | ||
| + | == Configuration == | ||
| + | The Nounours configuration is found at | ||
| + | / | ||
| + | It uses IP addresses 172.20.0.1 (Nounours) and 172.20.0.2 (RigPi) | ||
| + | Similarly, the RigPi configuration is located | ||
| + | / | ||
| + | on the RigPi. | ||
nounours-tunnels.1697826754.txt.gz · Last modified: by bent
