Post

Replies

Boosts

Views

Activity

Reply to VPN Forced Tunneling not working on MacOS 14
Route table shows routes are getting added on both tun and ethernet interface because of which traffic is not going via tunnel **0/1 192.168.29.1 UGScg en0 ** default 192.168.29.1 UGScg en0 **0/1 link#21 UCSIg utun7 ** default link#21 UCSIg utun7 10.2.0.130 10.2.0.130 UH utun7 127 127.0.0.1 UCS lo0 127.0.0.1 127.0.0.1 UH lo0 **128.0/1 192.168.29.1 UGSc en0 128.0/1 link#21 UCSI utun7 **
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’24
Reply to VPN Forced Tunneling not working on MacOS 14
Problem is not with 0.0.0.0/0 Problematic: 0.0.0.0/1 128.0.0.0/1 Which covers entire IPv4 address range. When these routes are being added on TUN interface, forced tunneling is not working. Traffic is not going via tun interface but via Wifi interface. Route table is attached above. It correctly shows that routes were added on tun interface And this problem happens only on MACOS 14. Works correctly on MacOS 13
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’24
Reply to OnDemand VPN connection stuck in NO INTERNET
let rule = NEOnDemandRuleConnect() rule.interfaceTypeMatch = .any manager.onDemandRules = [rule] manager.isOnDemandEnabled = true manager.isEnabled = true manager.saveToPreferences {} Yes, we need to contact VPN server and some other endpoints to get the configuration. But https requests are timing out because device is loosing internet connectivity (All apps + device)
3w
Reply to OnDemand VPN connection stuck in NO INTERNET
Lower level cpp APIs for creating TCP socket and reading/writing over it. This works perfectly always. Yes ms is milliseconds. I think no internet is seen at app level / http clients / apis. That's the reason URLSession also fails and Teams call also experiences drops. In this 2nd auth scenario, internet drop is only for few ms, on-demand connection succeeds eventually and we don't experience any issues.
5h