1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-14 12:21:56 +00:00

Fix WG client port

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-08-14 04:45:44 +00:00
parent ade517b142
commit c232d34169

View file

@ -923,7 +923,7 @@ if [ "$WIREGUARD" = "yes" ]; then
cat > /etc/wireguard/client-wg0.conf <<-EOF
[Interface]
PrivateKey = $(cat /etc/wireguard/vpn-server-private.key | tr -d "\n")
ListenPort = 65311
ListenPort = 65312
Address = 10.255.246.1/24
SaveConfig = true