I am trying to use the built-in VpnService in Android to capture traffic and send it to a remote server. I am trying to use Netty, but it seems that I have come to an impasse.
In order to send data from the phone to the server I need to call Protect() on the socket otherwise all the data I transmit will just be looped back into the VpnService. However I am not sure if it’s possible to get a hold of a Socket object or its filedescriptor when using Netty4.