mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-06 15:59:17 +00:00
Compare commits
No commits in common. "aee50c351558b575cb5cd897eea7b8d6272eb8c7" and "89f84a015ba6e3b86ec87f5d9ed85ca174c18914" have entirely different histories.
aee50c3515
...
89f84a015b
@ -36,7 +36,7 @@ echo "net.ipv4.ip_forward=1" >>/etc/sysctl.conf
|
||||
$STD sysctl -p /etc/sysctl.conf
|
||||
msg_ok "Installed WGDashboard"
|
||||
|
||||
msg_info "Create Example Config for WGDashboard"
|
||||
msg_info "Setup Example Config for WGDashboard"
|
||||
private_key=$(wg genkey)
|
||||
cat <<EOF >/etc/wireguard/wg0.conf
|
||||
[Interface]
|
||||
@ -47,7 +47,7 @@ PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACC
|
||||
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE;
|
||||
ListenPort = 51820
|
||||
EOF
|
||||
msg_ok "Created Example Config for WGDashboard"
|
||||
msg_ok "Created Example WGDashboard-Config"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/wg-dashboard.service
|
||||
|
@ -32,10 +32,11 @@
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "Wireguard and WGDashboard are not the same thing. Issues with Wireguard do not relate to WGDashboard.",
|
||||
"text": "WGDashboard and Wireguard are not the same thing! Issues with Wireguard do not relate to WGDashboard.",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "You can find an Example-Configuration here: nano /etc/wireguard/wg0.conf",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user