<Observing outgoing/incoming network packets regar...
# stackoverflow
r
Observing outgoing/incoming network packets regarding of connection type (WiFi/Cellular) We have a requirement for a VpnService in our app that basically only allows traffic to/from whitelisted addresses and drops the rest, while also allowing for an occasional bypass for a specific address. The current implementation we have is based on <a href="https://github.com/julian-klode/dns66/blob/main/app/src/main/java/org/jak_linux/dns66/vpn/AdVpnThread.java#L93" rel="nofollow...