Change variable name peer to my_ip
This commit is contained in:
8
wireguard/env_peer.sh
Normal file
8
wireguard/env_peer.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
WG_NUM="0"
|
||||
MY_IP=""
|
||||
DNS_SERVER=""
|
||||
PEER_PUBLIC_KEY=""
|
||||
PEER_ENDPOINT=""
|
||||
ALLOWED_IPS=""
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ./env.sh
|
||||
. ./env_peer.sh
|
||||
|
||||
WG_CONF="/etc/wireguard"
|
||||
PRIV_KEY_FILE="wg${WG_NUM}_privatekey"
|
||||
|
||||
Reference in New Issue
Block a user