Compare commits

..

No commits in common. "aee50c351558b575cb5cd897eea7b8d6272eb8c7" and "89f84a015ba6e3b86ec87f5d9ed85ca174c18914" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View File

@ -36,7 +36,7 @@ echo "net.ipv4.ip_forward=1" >>/etc/sysctl.conf
$STD sysctl -p /etc/sysctl.conf $STD sysctl -p /etc/sysctl.conf
msg_ok "Installed WGDashboard" msg_ok "Installed WGDashboard"
msg_info "Create Example Config for WGDashboard" msg_info "Setup Example Config for WGDashboard"
private_key=$(wg genkey) private_key=$(wg genkey)
cat <<EOF >/etc/wireguard/wg0.conf cat <<EOF >/etc/wireguard/wg0.conf
[Interface] [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; 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 ListenPort = 51820
EOF EOF
msg_ok "Created Example Config for WGDashboard" msg_ok "Created Example WGDashboard-Config"
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/wg-dashboard.service cat <<EOF >/etc/systemd/system/wg-dashboard.service

View File

@ -32,10 +32,11 @@
}, },
"notes": [ "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" "type": "info"
}, },
{ {
"text": "You can find an Example-Configuration here: nano /etc/wireguard/wg0.conf",
"type": "info" "type": "info"
} }
] ]