From 49a0a5fd158e85abb8460e9e25c564b4d0e0b2b9 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Thu, 4 Jan 2024 16:37:02 +0100
Subject: Change default port for wireguard
---
playbooks.d/vpn-wireguard/playbook.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/playbooks.d/vpn-wireguard/playbook.bash b/playbooks.d/vpn-wireguard/playbook.bash
index ed7961f..c3f93cd 100644
--- a/playbooks.d/vpn-wireguard/playbook.bash
+++ b/playbooks.d/vpn-wireguard/playbook.bash
@@ -53,7 +53,7 @@ playbook_sync() {
# Write the Interface section
file_template "interface" \
ip="$(config "$BASHTARD_PLAYBOOK.ip")" \
- port="$(config "$BASHTARD_PLAYBOOK.port" "52345")" \
+ port="$(config "$BASHTARD_PLAYBOOK.port" "51820")" \
privkey="$(cat "$data/privkey")" \
> "$wgconf"
--
cgit v1.1