#572·udp2raw

Speed comprised with iCloud private relay

Author: TomHsiungCreated Aug 7, 2026Updated Aug 7, 2026

IPsec + udp2raw (fake tcp) + iCloud private relay (TCP mode). After some time, network speed becomes very slow. Restarting udp2raw at both ends gateway recovers the speed.

Update:

The root cause of bad networking performance is caused by a 10-15% packet loss (test by ping -c 300). It seems the packet loss has impact the behavior of udp2raw, as if the small error accumulates and after a critical point, the communication compromises severely.

Currently, we have to create a pair of crontab jobs to restart the udp2raw service pair at either end (client/server). But this solution is temporary.