-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
T4930: print previous/current endpoint when resetting peer T4930: resolve code change requests T4930: Fix ConfigTreeQuery usages T4930: resolve code change requests T4930: make wireguard domain resolver run flag files separated by interface; code style T4930: Move dns resolution to vyos-domain-resolver T4930: make wg dns retry configurable through `interfaces wireguard wgX max-dns-retry` T4930: simplify reset-wireguard.xml.in T4930: code style changes for python 3.11 T4930: code style changes T4930: code style changes T4930: limit wg retry times by using environment variable T4930: Ensure peer is created even if dns not working T4930: Allow WireGuard peers via DNS hostname + new script resetting peer
- Loading branch information
Showing
8 changed files
with
328 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<interfaceDefinition> | ||
<node name="reset"> | ||
<children> | ||
<node name="wireguard"> | ||
<properties> | ||
<help>Reset WireGuard Peers</help> | ||
</properties> | ||
<children> | ||
<tagNode name="interface"> | ||
<properties> | ||
<help>WireGuard interface name</help> | ||
<completionHelp> | ||
<path>interfaces wireguard</path> | ||
</completionHelp> | ||
</properties> | ||
<command>sudo ${vyos_op_scripts_dir}/reset_wireguard.py reset_peer --interface="$4"</command> | ||
<children> | ||
<tagNode name="peer"> | ||
<properties> | ||
<help>WireGuard peer name</help> | ||
<completionHelp> | ||
<path>interfaces wireguard ${COMP_WORDS[3]} peer</path> | ||
</completionHelp> | ||
</properties> | ||
<command>sudo ${vyos_op_scripts_dir}/reset_wireguard.py reset_peer --interface="$4" --peer="$6"</command> | ||
</tagNode> | ||
</children> | ||
</tagNode> | ||
</children> | ||
</node> | ||
</children> | ||
</node> | ||
</interfaceDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.