MacBook data not routed through iPhone VPN when connected via hotspot
My understanding is that when a VPN is enabled on an iPhone, all data (web, internet, app) is routed through the VPN. However, evidently when a second device is connected to the iPhone via the iPhone's hotspot, that second device's data is not routed through the iPhone's VPN.
Test 1
iPhone with no VPN: ip address = xxxx.xxxx.xxxx.xxAA (for example) - ip address assigned by mobile network
MacBook connected to iPhone hotspot: ip address = xxxx.xxxx.xxxx.xxAA - same as iPhone
Test 2
iPhone with VPN: ip address = xxxx.xxxx.xxxx.xxBB - ip address assigned by iPhone VPN server
MacBook connected to iPhone hotspot: ip address = xxxx.xxxx.xxxx.xxAA - remains ip address assigned by mobile network
*this holds true even if MacBook WiFi disabled, then re-enabled, then re-connected to iPhone hotspot, with continuous iPhone VPN.
This appears to confirm that the MacBook's data bypasses the iPhone's VPN and maintains a direct connection to the mobile network and its assigned ip address.
Test 3
iPhone with VPN: ip address = xxxx.xxxx.xxxx.xxBB - ip address assigned by iPhone VPN server
MacBook connected to iPhone hotspot with own VPN: ip address = xxxx.xxxx.xxxx.xxCC - ip address assigned by MacBook VPN server
Can anyone explain why, in Test 2, the MacBook maintains a direct connection to the mobile network and assigned the mobile network's ip address - and is not routed through the iPhone's VPN and assigned the iPhone's VPN ip address?
iPhone 16 Pro Max, iOS 18