User Tools

Site Tools


nounours-tunnels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nounours-tunnels [2023/10/20 18:43] – [The main tunnel] bentnounours-tunnels [2025/02/25 15:52] (current) 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 (my main router) and Amsat (The OZ7SAT group's SatNOGS groundstation at Amanger):+  - Tunnel 'home' - Interface: wg1 
 +  - Tunnel to Rigpi at Amager - Interface : wg2 
 +===== Tunnels to OZ7SAT ===== 
 +Two tunnels exist between Nounours and Amsat (The OZ7SAT group's SatNOGS groundstation at Amanger):
   - 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. can the use the backup tunnel to access Amsat and remedy the situation.+  - The backup tunnel, which primarily exists because the main tunnel that uses Wireguard from time to time stops working. It can then use the backup tunnel to access Amsat and remedy the situation.
  
-===== The main tunnel =====+ 
 +==== The main tunnel ====
  
 The main tunnel uses Wireguard: The main tunnel uses Wireguard:
 {{ :wireguard.jpg |}} {{ :wireguard.jpg |}}
-== Configration ==+== Configuration ==
 The two ends have almost identical configurations found at The two ends have almost identical configurations found at
   /etc/systemd/network/wg0.net{dev|work}   /etc/systemd/network/wg0.net{dev|work}
Line 19: Line 24:
   networkctl reload   networkctl reload
  
-   +==== The backup tunnel ==== 
- +The backup tunnel uses OpenVPN: 
- +{{ :openvpn.jpg?direct |}} 
- +== Configuration == 
-===== The backup tunnel ===== +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
  
  
 +===== 2 - The tunnel 'home' =====
 +This interface is the endpoint for a tunnel from my laptop to Nounours.
 +== Configuration ==
 +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)
 +===== 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
 +  /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.
  
nounours-tunnels.1697827409.txt.gz · Last modified: 2023/10/20 18:43 by bent