struggling to set NEFilterRule for NEFilterDataProvider in order to filter (or for that matter allow) all the traffic.
have tried following :
[NWHostEndpoint endpointWithHostname:@"0.0.0.0" port:@"0"]
[NWHostEndpoint endpointWithHostname:@"" port:@"0"]
[NWHostEndpoint endpointWithHostname:@"0.0.0.0/0, " port:@"0"]
[NWHostEndpoint endpointWithHostname:@"0.0.0.0/0, ::/0" port:@"0"]
nothing of the above works .
how to construct the NWHostEndpoint in order to handle all the traffic .
thank you .
have tried following :
[NWHostEndpoint endpointWithHostname:@"0.0.0.0" port:@"0"]
[NWHostEndpoint endpointWithHostname:@"" port:@"0"]
[NWHostEndpoint endpointWithHostname:@"0.0.0.0/0, " port:@"0"]
[NWHostEndpoint endpointWithHostname:@"0.0.0.0/0, ::/0" port:@"0"]
nothing of the above works .
how to construct the NWHostEndpoint in order to handle all the traffic .
thank you .