I've implemented a custom VPN app for macOS (Packet Tunnel Provider).
I've added to the protocol configuration the flag
'includeAllNetworks'. For some reason, there are multiple times where the initial connection to the VPN fails. I'm using sockets, getaddrinfo func, and lib curl. But when this flag is set, it seems that there's no internet access, even before the first connection of the VPN.
The weird thing is - that sometimes the VPN connects without a problem.
Without this flag the VPN always connects without a problem.
Are there any limitations I should know regarding to using this flag?
I've added to the protocol configuration the flag
'includeAllNetworks'. For some reason, there are multiple times where the initial connection to the VPN fails. I'm using sockets, getaddrinfo func, and lib curl. But when this flag is set, it seems that there's no internet access, even before the first connection of the VPN.
The weird thing is - that sometimes the VPN connects without a problem.
Without this flag the VPN always connects without a problem.
Are there any limitations I should know regarding to using this flag?