Posts

Post not yet marked as solved
14 Replies
Hi @eskimoCan you please suggest me that for creating the 'NEIPv4Route' object in 'destinationAddress' parameter, it is must to pass 'server address' or can we pass 'IP Address' or 'domain name'. If there is any way can you please suggest, how can we achieve this?NEIPv4Route(destinationAddress: "208.67.220.123", subnetMask: "255.255.255.0")
Post not yet marked as solved
14 Replies
Hi,Thanks for your response.Are you sure that’s the case?I am not sure how i will check it that how it is detecting VPN. Can you please suggest?And as i checked my IP in safari browser when connected to VPN(exclude all the traffic) and when not connected to VPN , it is same, means all the traffic of safari goes directly not going via Tunnel. Or is it detecting the VPN not via the traffic but via other means?Yes it can be a possibility.One more thing that i want to ask why excludedRoutes is not working when i set it to default. Please suggest.networkSettings?.ipv4Settings?.excludedRoutes = [NEIPv4Route.default()] networkSettings?.ipv6Settings?.excludedRoutes = [NEIPv6Route.default()]As per my understanding above code should also exclude all the traffic but it is not working as expected.
Post not yet marked as solved
14 Replies
Hi @eskimoI assign blank array to 'includedRoutes' property that is all the trafic does not pass through the tunnel. All traffic should go direct because includedRoutes are empty.networkSettings?.ipv4Settings?.includedRoutes = [] networkSettings?.ipv6Settings?.includedRoutes = []But in that case when i am connected to VPN, 'Hotstar' is playing videos in Safari but it is not playing in Hotstar app showing error "VPN Detected". So why it still send the Hotstar app trafic via Tunnel.And the second problem that i am facing is, when i exclude all the routes, it is not excluding the traffic. Even Hotstar is not playing videos in Safari but it should play videos because when excludedRoutes has default value then all the traffic should not pass via Tunnel.networkSettings?.ipv4Settings?.excludedRoutes = [NEIPv4Route.default()] networkSettings?.ipv6Settings?.excludedRoutes = [NEIPv6Route.default()]If i am doing something wrong please correct me and help.