You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS/iPadOS/macOS - Tailscale does not 1280 byte MTUs as specified on some ISPs. #10701
We're seeing an issue where apps cannot access resource when Tailscale is connected over Cellular but can reach those services over Wi-Fi. On traditional VPNs we'd usually chalk this up to an MTU issue but I assume that's not the case here.
Two of the reliable failures are Plex and Aprox (Proxmox client on iOS).
Although no apps can reach other tailscale machines over cellular, you can load the web services over Safari just fine.
Using alternative VPN solutions including WireGuard, I can reach all of these resources over cellular indicating that Tailscale has introduced a bug.
Steps to reproduce
Try to connect to Plex over Tailscale when using the tailnet IP configured in "Custom server access URLs" on your Plex server.
Are there any recent changes that introduced the issue?
I've had similar issues on iOS devices. Make sure your carrier's DNS isn't overriding tailscale DNS. I determined that Plex's server discovery is pretty flakey and seems to break every other update. Instead of relying on plex's service by using custom server access URLs I use tailscale's magic DNS feature and it works well over celluar on iOS (My plex server isn't publicly accessible). Disable plex's custom access URLs and relay. The best solution I've found for remote plex access is setting up a node on the same LAN as plex and setup tailscale as a subnet router. That way you don't have to run tailscale on the host running plex, and which keeps the plex server's routing table clean.
Just a follow-up to this case. Plex and other Tailnet resources load fine from Safari when the iPhone is on cellular. This tells me its definitely a tailscale bug since if I use another VPN, the apps can connect to Plex, etc. just fine.
changed the title [-]iOS/iPadOS - Resources are not available on cellular but are available over Wi-Fi[/-][+]iOS/iPadOS - Apps cannot reach other machines via cellular but are available over Wi-Fi or Safari.[/+]on Jan 19, 2024
To provide and update on this, I along with another Tailscaler were unable to replicate the issue. We'll be continuing to work the issue in the ticket (32301).
Ran some additional tests and this appears to be an MTU issue. Tailscale does not adjust the MTU size of its tunnel or implement Path MTU Discovery so on connections fail when we attempt to run large file transfers, they timeout.
ifconfig output for the Tailscale interface on my Mac:
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
When I run ping -D -s 1252 myhost I see that on my regular internet connection, I can ping hosts over the tailnet at up to 1252 bytes which makes sense when you add the standard IP overhead of 28 bytes. However, when I use my T-Mobile hotspot with my computer, I can't ping hosts over the tailnet with more than 1232 bytes which is 1260 bytes and less than what the tailscale interface is configured to use.
Can tailscale automatically adjust its interface MTU based on the underlying transport? Does Tailscale just used hardcoded a 1280 byte limit?
I have updated the issue title to be more precise. This might affect other platforms but I am unable to confirm that.
changed the title [-]iOS/iPadOS - Apps cannot reach other machines via cellular but are available over Wi-Fi or Safari.[/-][+]iOS/iPadOS/macOS - Tailscale does not handle ISP with MTUs less than 1280 bytes.[/+]on Mar 19, 2024
changed the title [-]iOS/iPadOS/macOS - Tailscale does not handle ISP with MTUs less than 1280 bytes.[/-][+]iOS/iPadOS/macOS - Tailscale does not 1280 byte MTUs as specified on some ISPs.[/+]on Mar 20, 2024
After some further discussion and troubleshooting I was able to replicate this issue. I used the following steps to replicate the issue.
On my iPhone (14 Pro w/ iOS 17.4) I ensured it was only connected to a cellular network (T-Mobile in my case) and was not connected to WiFi.
I enabled the Personal Hot Spot feature on my phone.
On my MacBook Pro (macOS 14.3.1) I connected to the hot spot of the iPhone and then connected to my tailnet via the Mac AppStore version of the Tailscale app.
On my Plex server (which is running on a Mac mini M1 also connected to my tailnet), I ensured that I had set the "Custom server access URLs" found under Settings > Network to the tailscale IP given to my Mac mini. This looked like http://100.70.170.36:32400.
On my MacBook Pro I opened up the Plex app and attempted to playback several pieces of media.
I observed that the app just "spun" and was never able to playback anything.
I attempted to ping the Plex server via Terminal and observed the result of ping: sendto: Message too long. The command I used was ping -D -s 1252 100.70.170.36.
At this point it's clear there's an issue here which looks to be related to MTU. It should also be noted this doesn't seem to be an issue with just Plex but any application that uses large packets such as FTP, SFTP, SCP, etc...If there's any further testing I can do from my end please don't hesitate to reach out!
Following up on this issue, I ran a wirelshark for fun. No packets are captured if the ethernet frame is too large so I cannot offer that as an additional diagnostic. The issue clearly lies in the tailscale client itself.
Attempting to reproduce, testing with a Google Fi (T-Mobile backed) connection from an iPhone to a Macbook here:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
inet 172.20.10.2 netmask 0xfffffff0 broadcast 172.20.10.15
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
~ % ping -D -s 1472 tailscale.com
PING tailscale.com (76.76.21.21): 1472 data bytes
1480 bytes from 76.76.21.21: icmp_seq=0 ttl=243 time=37.185 ms
1480 bytes from 76.76.21.21: icmp_seq=1 ttl=243 time=313.013 ms
1480 bytes from 76.76.21.21: icmp_seq=2 ttl=243 time=36.794 ms
The tailscale0 MTU is 1280, so we ping hello with 1252:
~ % ping -D -s 1252 hello.ts.net
PING hello.ts.net (100.101.102.103): 1252 data bytes
1260 bytes from 100.101.102.103: icmp_seq=0 ttl=64 time=678.431 ms
1260 bytes from 100.101.102.103: icmp_seq=1 ttl=64 time=236.011 ms
1260 bytes from 100.101.102.103: icmp_seq=2 ttl=64 time=226.155 ms
So the connection here is large enough for the common wireguard frames (~1360 bytes), and the inner MTU is 1280, sufficient for IPv6 and should be working in th example given in #10701 (comment) point 7.
7. I attempted to ping the Plex server via Terminal and observed the result of ping: sendto: Message too long. The command I used was ping -D -s 1252 100.70.170.36.
@jimmybrancaccio what is the MTU on your tailscale0 interface? It should be 1280, but this looks like it is lower for some reason
ping -c5 -D -s 1252 100.70.170.36
PING 100.70.170.36 (100.70.170.36): 1252 data bytes
ping: sendto: Message too long
Request timeout for icmp_seq 0
ping: sendto: Message too long
Request timeout for icmp_seq 1
ping: sendto: Message too long
Request timeout for icmp_seq 2
ping: sendto: Message too long
Request timeout for icmp_seq 3
--- 100.70.170.36 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
I followed the same reproduction steps as outlined in my comment here.
Attempting to reproduce, testing with a Google Fi (T-Mobile backed) connection from an iPhone to a Macbook here:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
inet 172.20.10.2 netmask 0xfffffff0 broadcast 172.20.10.15
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
~ % ping -D -s 1472 tailscale.com
PING tailscale.com (76.76.21.21): 1472 data bytes
1480 bytes from 76.76.21.21: icmp_seq=0 ttl=243 time=37.185 ms
1480 bytes from 76.76.21.21: icmp_seq=1 ttl=243 time=313.013 ms
1480 bytes from 76.76.21.21: icmp_seq=2 ttl=243 time=36.794 ms
The tailscale0 MTU is 1280, so we ping hello with 1252:
~ % ping -D -s 1252 hello.ts.net
PING hello.ts.net (100.101.102.103): 1252 data bytes
1260 bytes from 100.101.102.103: icmp_seq=0 ttl=64 time=678.431 ms
1260 bytes from 100.101.102.103: icmp_seq=1 ttl=64 time=236.011 ms
1260 bytes from 100.101.102.103: icmp_seq=2 ttl=64 time=226.155 ms
So the connection here is large enough for the common wireguard frames (~1360 bytes), and the inner MTU is 1280, sufficient for IPv6 and should be working in th example given in #10701 (comment) point 7.
@raggi Thank you for giving this a test. Since traffic is tunneled back to Google for Fi and not T-Mobile, using Fi, may not be suitable for replicating this behavior.
I am having similar MTU issues with a specific public wifi network (BT Wifi) with a iPhone or iPad
Connecting to my tailnet works fine on most wifi and cellular connections
On this specific wifi (BT Wifi)
I can ping any of my tailnet (using ping and tailnet ping) proving connectivity using IP address or magicdns hostname
however I am limited to sending a 1236 byte ping to my device when on BT Wifi (1252 when on any other connection) - this is testing from a linux server on my tailnet to my iPad/iPhone
connections to most websites fail (or at least load slowly or incomplete) - this is either on my tailnet 'selfhosted' web sites or when using an exit node
I can SSH from iPhone (Terminus) to a linux server - but I can't type anything into the connection - odd!
Testing the MTU of this specific BT Wifi connection seems to suggest the MTU is 1331 (ping 1.1.1.1 -f -l 1303 is the largest packet I can send)
Same symptom here, with numbers in case they help. iPhone (iOS 27, Tailscale on cellular, a Polish mobile network) → Ubuntu server (Tailscale 1.104.7), direct path over IPv6. Seen from the server, inner packets ≤1178 B reach the phone 100% of the time, while ≥1208 B are lost 100% (ping -M do -s N to the phone's 100.x address). There's no ICMPv6 Packet Too Big, so they're silently black-holed. On Wi‑Fi and abroad there's no problem.
The visible symptom was SSH failing at key exchange (Connection reset … [preauth] in sshd logs), because the KEX reply (mlkem768x25519) is >1 KB. It only worked occasionally, when the path happened to go via DERP.
Workaround on the server side: TS_DEBUG_MTU=1200 in /etc/default/tailscaled plus a restart. The TCP MSS drops accordingly, and SSH now connects instantly every time. Peer MTU discovery (#311) would fix this properly.
Activity
coorslight commentedon Dec 30, 2023
I've had similar issues on iOS devices. Make sure your carrier's DNS isn't overriding tailscale DNS. I determined that Plex's server discovery is pretty flakey and seems to break every other update. Instead of relying on plex's service by using custom server access URLs I use tailscale's magic DNS feature and it works well over celluar on iOS (My plex server isn't publicly accessible). Disable plex's custom access URLs and relay. The best solution I've found for remote plex access is setting up a node on the same LAN as plex and setup tailscale as a subnet router. That way you don't have to run tailscale on the host running plex, and which keeps the plex server's routing table clean.
wingcomm commentedon Dec 31, 2023
@coorslight Appreciate the note but it's not a DNS issue since I'm only using tailnet IPs for the custom URLs.
wingcomm commentedon Jan 5, 2024
Just a follow-up to this case. Plex and other Tailnet resources load fine from Safari when the iPhone is on cellular. This tells me its definitely a tailscale bug since if I use another VPN, the apps can connect to Plex, etc. just fine.
wingcomm commentedon Jan 14, 2024
@DentonGentry Here is the bug report for this iOS issue as requested in #8022
BUG-a6a59623d9db4cb6439a395986dae2789811012fc0b4e2b46dbe3b56512c7c56-20240114044903Z-6b31b72abcc075b8
wingcomm commentedon Jan 19, 2024
Confirmed that this is still broken on Tailscale 1.58.0 for iOS 17.2.1.
[-]iOS/iPadOS - Resources are not available on cellular but are available over Wi-Fi[/-][+]iOS/iPadOS - Apps cannot reach other machines via cellular but are available over Wi-Fi or Safari.[/+]wingcomm commentedon Feb 21, 2024
This issue is still present in the latest versions of tailscale 1.60.
wingcomm commentedon Mar 11, 2024
Updated bug reports.
Here is a bug report on Wi-Fi where I can reach the host on my tailnet:
BUG-a6a59623d9db4cb6439a395986dae2789811012fc0b4e2b46dbe3b56512c7c56-20240310063926Z-6f525b44fc088610
Here is a bug report on Cellular Data where I can no longer reach the host on my tailnet even though tailscale is connected:
BUG-a6a59623d9db4cb6439a395986dae2789811012fc0b4e2b46dbe3b56512c7c56-20240310064039Z-b31af589c60030af
jimmybrancaccio commentedon Mar 18, 2024
To provide and update on this, I along with another Tailscaler were unable to replicate the issue. We'll be continuing to work the issue in the ticket (32301).
wingcomm commentedon Mar 18, 2024
Ran some additional tests and this appears to be an MTU issue. Tailscale does not adjust the MTU size of its tunnel or implement Path MTU Discovery so on connections fail when we attempt to run large file transfers, they timeout.
ifconfigoutput for the Tailscale interface on my Mac:utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280When I run
ping -D -s 1252 myhostI see that on my regular internet connection, I can ping hosts over the tailnet at up to 1252 bytes which makes sense when you add the standard IP overhead of 28 bytes. However, when I use my T-Mobile hotspot with my computer, I can't ping hosts over the tailnet with more than 1232 bytes which is 1260 bytes and less than what the tailscale interface is configured to use.Can tailscale automatically adjust its interface MTU based on the underlying transport? Does Tailscale just used hardcoded a 1280 byte limit?
I have updated the issue title to be more precise. This might affect other platforms but I am unable to confirm that.
[-]iOS/iPadOS - Apps cannot reach other machines via cellular but are available over Wi-Fi or Safari.[/-][+]iOS/iPadOS/macOS - Tailscale does not handle ISP with MTUs less than 1280 bytes.[/+]3 remaining items
[-]iOS/iPadOS/macOS - Tailscale does not handle ISP with MTUs less than 1280 bytes.[/-][+]iOS/iPadOS/macOS - Tailscale does not 1280 byte MTUs as specified on some ISPs.[/+]wingcomm commentedon Mar 20, 2024
Ran some additional testing and my T-Mobile hotspot connection over my iPhone is actually capable of handling 1410 bytes packets (1392+28):
That leaves 130 bytes for Tailscale to deliver 1280 byte MTU packets as required by IPv6 in RFC 8200. That should be...plenty.
There seems to be an issue with the Tailscale client that I'm not quite sure how to further troubleshoot...
jimmybrancaccio commentedon Mar 20, 2024
After some further discussion and troubleshooting I was able to replicate this issue. I used the following steps to replicate the issue.
http://100.70.170.36:32400.ping: sendto: Message too long. The command I used wasping -D -s 1252 100.70.170.36.At this point it's clear there's an issue here which looks to be related to MTU. It should also be noted this doesn't seem to be an issue with just Plex but any application that uses large packets such as FTP, SFTP, SCP, etc...If there's any further testing I can do from my end please don't hesitate to reach out!
wingcomm commentedon Mar 20, 2024
@jimmybrancaccio Thank you for your help confirming this behavior. I look forward to it getting fixed!
wingcomm commentedon Apr 8, 2024
@bradfitz FYI, this affects macOS as well, not just iOS/iPadOS.
wingcomm commentedon Apr 22, 2024
Following up on this issue, I ran a wirelshark for fun. No packets are captured if the ethernet frame is too large so I cannot offer that as an additional diagnostic. The issue clearly lies in the tailscale client itself.
ianlevesque commentedon May 16, 2024
Any update here? I see this on T-Mobile.
raggi commentedon Sep 16, 2024
Attempting to reproduce, testing with a Google Fi (T-Mobile backed) connection from an iPhone to a Macbook here:
The tailscale0 MTU is 1280, so we ping hello with 1252:
So the connection here is large enough for the common wireguard frames (~1360 bytes), and the inner MTU is 1280, sufficient for IPv6 and should be working in th example given in #10701 (comment) point 7.
raggi commentedon Sep 16, 2024
@jimmybrancaccio what is the MTU on your tailscale0 interface? It should be 1280, but this looks like it is lower for some reason
jimmybrancaccio commentedon Sep 16, 2024
Here's the interface:
and ping results:
I followed the same reproduction steps as outlined in my comment here.
wingcomm commentedon Sep 16, 2024
Happy to help test as well @raggi .
wingcomm commentedon Oct 11, 2024
@raggi Thank you for giving this a test. Since traffic is tunneled back to Google for Fi and not T-Mobile, using Fi, may not be suitable for replicating this behavior.
gorstj commentedon Apr 20, 2025
I am having similar MTU issues with a specific public wifi network (BT Wifi) with a iPhone or iPad
Connecting to my tailnet works fine on most wifi and cellular connections
On this specific wifi (BT Wifi)
Testing the MTU of this specific BT Wifi connection seems to suggest the MTU is 1331 (ping 1.1.1.1 -f -l 1303 is the largest packet I can send)
IjonFryderyk commentedon Nov 15, 2026
Same symptom here, with numbers in case they help. iPhone (iOS 27, Tailscale on cellular, a Polish mobile network) → Ubuntu server (Tailscale 1.104.7), direct path over IPv6. Seen from the server, inner packets ≤1178 B reach the phone 100% of the time, while ≥1208 B are lost 100% (
ping -M do -s Nto the phone's 100.x address). There's no ICMPv6 Packet Too Big, so they're silently black-holed. On Wi‑Fi and abroad there's no problem.The visible symptom was SSH failing at key exchange (
Connection reset … [preauth]in sshd logs), because the KEX reply (mlkem768x25519) is >1 KB. It only worked occasionally, when the path happened to go via DERP.Workaround on the server side:
TS_DEBUG_MTU=1200in/etc/default/tailscaledplus a restart. The TCP MSS drops accordingly, and SSH now connects instantly every time. Peer MTU discovery (#311) would fix this properly.