Merge pull request #101 from ratpoison4/wireguard-fix-msu

WireGuard guide: fix MTU issue
This commit is contained in:
awokd 2020-12-07 20:30:55 +00:00 committed by GitHub
commit b2d6f88156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ Create the file `/home/user/wg0.conf` with the following content:
PrivateKey = <private key of the client> PrivateKey = <private key of the client>
Address = 192.168.66.2/32 Address = 192.168.66.2/32
DNS = 1.1.1.1 DNS = 1.1.1.1
PostUp = iptables -t nat -I PREROUTING 1 -p udp -m udp --dport 53 -j DNAT --to-destination 1.1.1.1 PostUp = iptables -t nat -I PREROUTING 1 -p udp -m udp --dport 53 -j DNAT --to-destination 1.1.1.1; iptables -t nat -I POSTROUTING 3 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
[Peer] [Peer]
PublicKey = <public key of the client> PublicKey = <public key of the client>