mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Fix WG client port
This commit is contained in:
parent
ade517b142
commit
c232d34169
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ if [ "$WIREGUARD" = "yes" ]; then
|
||||||
cat > /etc/wireguard/client-wg0.conf <<-EOF
|
cat > /etc/wireguard/client-wg0.conf <<-EOF
|
||||||
[Interface]
|
[Interface]
|
||||||
PrivateKey = $(cat /etc/wireguard/vpn-server-private.key | tr -d "\n")
|
PrivateKey = $(cat /etc/wireguard/vpn-server-private.key | tr -d "\n")
|
||||||
ListenPort = 65311
|
ListenPort = 65312
|
||||||
Address = 10.255.246.1/24
|
Address = 10.255.246.1/24
|
||||||
SaveConfig = true
|
SaveConfig = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue