Skip to content

Commit

Permalink
mtu
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfly722 committed Sep 14, 2024
1 parent f992ec5 commit a2617a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cloak-wg-helper/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ var params = {
wireguardClientPrivate: '',
wireguardClientPublic: '',
wireguardServerPrivate: '',
wireguardServerPublic: ''
wireguardServerPublic: '',
wireguardMTU: ''

}

Expand Down Expand Up @@ -136,7 +137,7 @@ sudo systemctl status cloak-client.service
[Interface]
PrivateKey = :wireguardClientPrivate
Address = 10.1.1.2/32
MTU = 1420
MTU = :wireguardMTU
PostUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE
PostUp = ip route add :cloakServer/32 via :cloakGateway
Expand Down
Binary file modified cloak-wg-helper/index.html
Binary file not shown.

0 comments on commit a2617a6

Please sign in to comment.