I create NETransparentProxy with the following configuration:
Code Block settings.includedNetworkRules = @[[[NENetworkRule alloc] initWithRemoteNetwork: [NWHostEndpoint endpointWithHostname:@"2000::" port:@"0"] remotePrefix:3 localNetwork:nil localPrefix:0 protocol:NENetworkRuleProtocolTCP direction:NETrafficDirectionOutbound]];
So, there is wildcard port and IPv6 network 2000::/3 (global unicast)
After this rule is created, any incoming connection from any IPv6 host will be dropped.
And when it is dropped, there is no any activity in AppProxyProvider or and NSLog of Network extension.
Is it a bug? Why it affects incoming traffic while NETransparentProxy may only have outbound rules?
Good old kernel extensions don't break incoming connections when diverting sockets.
I use Catalina but Big Sur users are also reporting this problem.