Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
technical:wireguard-agent [2026/02/18 06:24] systemtechnical:wireguard-agent [2026/02/18 06:32] (current) – [Startup Files] system
Line 87: Line 87:
 ==== Startup Files ==== ==== Startup Files ====
   * We have two Systemd startup files which we copied to the ///etc/systemd/system// folder earlier.   * We have two Systemd startup files which we copied to the ///etc/systemd/system// folder earlier.
-  * Disable the original Wireguard startup file.+  * Disable Wireguard startup files if there are any.
 <code bash> <code bash>
-sudo systemctl disable wireguard+sudo systemctl disable wg-quick@wg0.service 
 +sudo systemctl disable wg-quick@wg1.service 
 +sudo systemctl disable wg-quick@wg2.service 
 +sudo systemctl disable wg-quick@wg3.service
 </code> </code>
   * Enable everything   * Enable everything
 <code bash> <code bash>
-systemctl daemon-reload+sudo systemctl daemon-reload
  
-systemctl enable rd-wireguard-init +sudo systemctl enable rd-wireguard-init 
-systemctl enable rd-wireguard-heartbeat+sudo systemctl enable rd-wireguard-heartbeat
  
-systemctl start rd-wireguard-init +sudo systemctl start rd-wireguard-init 
-systemctl start rd-wireguard-heartbeat+sudo systemctl start rd-wireguard-heartbeat
  
 </code> </code>
   * Check if everything started up fine   * Check if everything started up fine
 <code bash> <code bash>
-journalctl -u rd-wireguard-init -f +sudo journalctl -u rd-wireguard-init -f 
-journalctl -u rd-wireguard-heartbeat -f+sudo journalctl -u rd-wireguard-heartbeat -f
 </code> </code>
   * Everything should now be in place and you can reboot the device and see if it is listed under **Wireguard Servers -> New Arrivals**    * Everything should now be in place and you can reboot the device and see if it is listed under **Wireguard Servers -> New Arrivals** 
  
  • technical/wireguard-agent.1771388678.txt.gz
  • Last modified: 2026/02/18 06:24
  • by system