Change variable name peer to my_ip

This commit is contained in:
tliu93 committed 2025-05-19 09:46:12 +00:00
1 parent f18e1c3b86
commit 68877fda84
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
WG_NUM="0"
MY_IP=""
DNS_SERVER=""
PEER_PUBLIC_KEY=""
PEER_ENDPOINT=""
ALLOWED_IPS=""
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
. ./env.sh . ./env_peer.sh
WG_CONF="/etc/wireguard" WG_CONF="/etc/wireguard"
PRIV_KEY_FILE="wg${WG_NUM}_privatekey" PRIV_KEY_FILE="wg${WG_NUM}_privatekey"