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 [2024/12/06 16:53] – Better structure bentnounours-tunnels [2026/10/01 19:26] (current) – bent
Line 2: Line 2:
  
 Nounours (my main router) has a number of tunnels: Nounours (my main router) has a number of tunnels:
-  - Tunnels to OZ7SAT at Amager+  - Tunnels to OZ7SAT at Amager (interface wg0 and tun0 (backup))
   - Tunnel 'home' - Interface: wg1   - Tunnel 'home' - Interface: wg1
   - Tunnel to Rigpi at Amager - Interface : wg2   - Tunnel to Rigpi at Amager - Interface : wg2
 +The main tunnel runs continously controlled by systemd (systemd-networkd.service). The backup tunnel is normally stopped and is only started when needed (openvpn-server@server.service)
 ===== 1 - Tunnels to OZ7SAT ===== ===== 1 - Tunnels to OZ7SAT =====
 Two tunnels exist between Nounours and Amsat (The OZ7SAT group's SatNOGS groundstation at Amanger): Two tunnels exist between Nounours and Amsat (The OZ7SAT group's SatNOGS groundstation at Amanger):
Line 23: Line 24:
   ip link delete dev wg0   ip link delete dev wg0
   networkctl reload   networkctl reload
- 
-   
- 
- 
  
 ==== The backup tunnel ==== ==== The backup tunnel ====
Line 41: Line 38:
   systemctl [start|stop|restart|status] openvpn-server@server.service   systemctl [start|stop|restart|status] openvpn-server@server.service
 Amsat: Amsat:
-  systemctl [start|stop|restart|status] openvpn-server@client.service+  systemctl [start|stop|restart|status] openvpn-client@client.service
  
  
 ===== 2 - The tunnel 'home' ===== ===== 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 ===== ===== 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.
 +===== 4 - IPv6 Addresses =====
 +
  
  
  
nounours-tunnels.1733504030.txt.gz · Last modified: by bent