Post

Replies

Boosts

Views

Activity

Reply to Per App VPN sending traffic despite no include routes
Consider an app that makes an outgoing TCP connection run by either BSD Sockets or NWConnection. What do you see happen with that TCP connection currently? Connection fails with error network unreachable. Sometimes time out too And what would you like to happen? In case of Captive network I dont want this traffic come to us at all. Reason being that captive redirections does not happen to captive authentication page if traffic is handled by vpn.
Aug ’23
Reply to Per App VPN sending traffic despite no include routes
Can you explain your rationale here? We cannot connect to VPN servers in Captive network. So , no point in capturing the traffic. Instead we prefer to fail open so that end user can authenticate with Captive without any issue(caused by vpn settings on the device) Most folks deploying per-app VPN are trying to connect managed apps to servers that only exist on the organisation’s intranet. Not in our case. Our users can access on public internet too. If the device is on a captive network there’s no way to do that, and so it’s correct to fail the flow.Sending the traffic directly, in plaintext, seems like a weird choice. On Captive network, we want to get out of the picture so that end user can be navigated to Captive page and they can authenticate. If we handle that traffic some captive networks dont redirect to Captive Page.
Aug ’23
Reply to Per App VPN sending traffic despite no include routes
Thanks Quinn At that point your routing configuration is irrelevant. You get the packets associated with the flows generated by the app. But even then we need to handle the flows. right? We dont want to handle traffic in captive networks Is there any way we can enforce traffic to go direct over physical interface in per app vpn in scenarios like captive networks? Like we can do over enterprise vpn by removing all include routes.
Jul ’23