omv7:omv7_plugins:wireguard

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
omv7:omv7_plugins:wireguard [2025/09/28 14:15] – [Installation] chenteomv7:omv7_plugins:wireguard [2025/12/22 19:50] (current) – [Update DuckDNS IP. Receive notifications only when it changes and restart WireGuard automatically] chente
Line 51: Line 51:
 </span></strong></td></tr><tr><td style="background-color:#E6FEFF;height:25px;width:380px;"> </span></strong></td></tr><tr><td style="background-color:#E6FEFF;height:25px;width:380px;">
 If your system is based on an <b>Armbian</b> image, installing this plugin may break the existing Kernel.<br> If your system is based on an <b>Armbian</b> image, installing this plugin may break the existing Kernel.<br>
-To solve it you must reinstall the Armbian Kernel once the plugin is installed and everything will work normally.+To solve it you must reinstall the Armbian Kernel once the plugin is installed and everything will work normally.<br>
 Read this forum thread: https://forum.openmediavault.org/index.php?thread/54000-catastrophic-wireguard-install/ Read this forum thread: https://forum.openmediavault.org/index.php?thread/54000-catastrophic-wireguard-install/
 </tr></table></body></html> </tr></table></body></html>
Line 546: Line 546:
 Example command: Example command:
  
-<html><body><pre><code>curl -s -k "https://www.duckdns.org/update?domains=[MY_DOMAIN]&token=[MY_TOKEN]&ip=&verbose=true" | grep -q UPDATED && echo "UPDATED PUBLIC IP IN DUCKDNS" && systemctl restart wg-quick@wgnet_[MY_TUNNEL]</code></pre></body></html>+<html><body><pre><code>curl -s -k "https://www.duckdns.org/update?domains=[MY_DOMAIN]&token=[MY_TOKEN]&ip=&verbose=true" | grep -q UPDATED && echo "UPDATED PUBLIC IP IN DUCKDNS" && systemctl restart wg-quick@wgnet[MY_TUNNEL]</code></pre></body></html>
  
   * Replace ''[MY_DOMAIN]'' with the subdomain you chose in "''[MY_DOMAIN]''.duckdns.org" and ''[MY_TOKEN]'' with your token.   * Replace ''[MY_DOMAIN]'' with the subdomain you chose in "''[MY_DOMAIN]''.duckdns.org" and ''[MY_TOKEN]'' with your token.
   * Replace ''[MY_TUNNEL]'' with the name you assigned to your tunnel in the WireGuard plugin.   * Replace ''[MY_TUNNEL]'' with the name you assigned to your tunnel in the WireGuard plugin.
 +    * If it's a custom tunnel, add an underscore before the tunnel name, like this: ''wgnet_[MY_TUNNEL]''
   * Remember to enable notifications in OMV to receive an alert when the public IP changes.   * Remember to enable notifications in OMV to receive an alert when the public IP changes.
   * Add a descriptive label to the scheduled task so you can easily identify it.   * Add a descriptive label to the scheduled task so you can easily identify it.
  • omv7/omv7_plugins/wireguard.1759068931.txt.gz
  • Last modified: 2025/09/28 14:15
  • by chente