aboutsummaryrefslogtreecommitdiff
path: root/autopeer_shell.py
diff options
context:
space:
mode:
authorGravatar steering72532026-05-02 20:54:06 +0000
committerGravatar steering72532026-05-02 20:54:06 +0000
commit5cb1023294ec046d5db689c3b3111896ce695e1e (patch)
tree238347cc66700ec034a2ca7fed319296a79533de /autopeer_shell.py
parentadd user to crond (diff)
allo wg config for dynamic peers
Diffstat (limited to 'autopeer_shell.py')
-rwxr-xr-xautopeer_shell.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/autopeer_shell.py b/autopeer_shell.py
index de126e4..9ec8702 100755
--- a/autopeer_shell.py
+++ b/autopeer_shell.py
@@ -114,7 +114,10 @@ My Tunnel IPv6LL: {me.ipll}
<wg pubkey> is your WireGuard public key
<wg address> is your WireGuard IP or hostname
<wg port> is your WireGuard port
- <ipv6 link local> is your WireGuard IPv6LL'''
+ <ipv6 link local> is your WireGuard IPv6LL
+
+ Note: if you have a dynamic IP, specify the port as 0 (and some valid garbage for the IP).
+ The Endpoint (IP and port) will then be omitted from my side, so WireGuard will wait to receive packets from you first.'''
if not re.match(NAME_REGEX, name):
print(f'Error: name must match {NAME_REGEX}', file=sys.stderr)
return