Update Linux/WireGuard/dashboard+serivice.md
This commit is contained in:
@@ -26,6 +26,7 @@ systemctl enable --now sshd
|
||||
# Install WG-Dashboard https://github.com/donaldzou/WGDashboard
|
||||
git clone -b v3.0.6 https://github.com/donaldzou/WGDashboard.git /opt/wgdashboard
|
||||
cd /opt/wgdashboard/src/
|
||||
chmod +x wgd.sh
|
||||
./wgd.sh install
|
||||
chmod -R 755 /etc/wireguard
|
||||
./wgd.sh debug
|
||||
@@ -60,7 +61,7 @@ cat /etc/wireguard/keys/site2site_priv.key | wg pubkey | tee /etc/wireguard/keys
|
||||
PrivKey=$(cat site2site_priv.key)
|
||||
cat site2site_pub.key
|
||||
|
||||
tee /etc/systemd/system/wg-dashboard.service <<EOF
|
||||
tee /etc/wireguard/site2site.conf <<EOF
|
||||
[Interface]
|
||||
Address = 172.32.0.0/24
|
||||
ListenPort = 51820
|
||||
|
||||
Reference in New Issue
Block a user