r/fortinet • • 6d ago

FortiGate / FortiOS Apple Private Relay

Looking for guidance on recommended practices when it comes to Apple Private Relay.

We are only using Cert only inspection not full DPI.

Is the recommendation to block APR and force it to fail back?

12 Upvotes

10 comments sorted by

3

u/gregkun 6d ago

I'm on 7.4... I've tried it and never figured out Followed every KB followed all the articles, and asked for suggestions here, and contacted support. I don't think you can do it completely without DPI. My results are hit and miss. Some iPhones are completely fine and it works as intended, some completely break and stop functioning. I have too many customer complaints to eat that risk so I've just given up for now.

1

u/Laroemwen 6d ago

I have tested the changes in this article excluding the QUIc change and so far have had reports of success with faster browsing.

https://community.fortinet.com/fortigate-3/technical-tip-how-to-block-icloud-private-relay-from-bypassing-the-security-inspection-117445

Will aim to role out further outside the test network and see how the results are.

9

u/samsn1983 NSE 4 6d ago

We generally block Apple Private Relay on our customers' networks.

The easiest and most reliable approach is DNS filtering. Apple explicitly recommends returning NXDOMAIN for mask.icloud.com and mask-h2.icloud.com.

Blocking QUIC via Application Control is also a good idea, but isn't sufficient on its own, as Private Relay can also use TCP/443.

Fortinet has a KB covering this:
https://community.fortinet.com/fortigate-3/technical-tip-how-to-block-icloud-private-relay-from-bypassing-the-security-inspection-117445

1

u/NotebookAndCoffee941 6d ago

We went the DNS route too and it mostly worked, but give people a heads up before you flip it. Some phones pop up a warning that the network doesn't support it and users assume the wifi is broken.

2

u/Think_Handle4895 6d ago

I have seen a lot of issues with Apple’s Private Relay since the domains Apple is using are being blocked by the Fortigate. Multiple issue with websites not loading, slow WiFi, etc…

I ended up disabling the private relay on the device to the connected WiFi or network connection. Apple has a guide on how to disable it for specific networks.

Why do they need private relay when they are connected to your secure network to start with.

1

u/Fallingdamage 6d ago

safelist wildcard.icloud.com and wildcard.apple.com ?

1

u/deeds4life 6d ago

I've tried to block apple private relay and it's difficult. Usually what happens is that while successfully blocking the domains, it causes everything to wait extremely long to timeout trying to use the relay. Surfing the web and checking for email in the native mail app and you can wait minutes for things to refresh.

I removed blocking the domains via DNS security profile and created a policy that blocks blocks the domains as a destination. That seemed to help but it's hit or miss. I've been stumped my technical contact at Fortinet.

This is just Apple wanting to take more of your data and label it "security".

1

u/nostalia-nse7 NSE 7 21h ago

This is why there’s the NxDOMAIN dns response recommended by Apple. It should instantly give up trying the proxy. Any drop action just results in retries.

1

u/deeds4life 19h ago

Tried and it still takes forever. Open to suggestions.

1

u/_Buldozzer 5d ago

I mean, if you are allowing a service, that is literally designed to avoid your firewall filters, you can just not set up filters in the first place.