Skip to content

Commit

Permalink
docs(connectivity): mention mtu changes as a troubleshooting step
Browse files Browse the repository at this point in the history
  • Loading branch information
orazioedoardo authored Aug 19, 2023
1 parent 1f1d6aa commit 05cf283
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
6. Press CTRL-C to stop the capture
7. Exit the root shell: `exit`

### Tweaking MTU

On some networks, you may see that packets are being exchanged, data transfer occurs in both directions (Rx/Tx) as seen in the WireGuard app or `pivpn -c`, but can't browse the web or connect to servers in the LAN. This is sometimes caused by improper [MTU](https://en.wikipedia.org/wiki/Maximum_transmission_unit). To attempt a fix, start from the default MTU of 1420 and lower the value by 10 until you find the highest that works. The MTU can be changed by adding/editing the `MTU = something` line of the `[Interface]` section of the client `.conf` file, or by changing the MTU section in the WireGuard app on Android and iOS.

### What to do if I see no packets?

- If you set up PiVPN with ethernet and later switched to wifi, you will have a different IP. Easiest way to fix is to reinstall and pick the new network interface.
Expand Down

0 comments on commit 05cf283

Please sign in to comment.