Android VpnService, packets forwarding
问题 I'm creating application based on ToyVPN to capture tcp/udp packets. After i get outgoing packets in my apllication i would like to forward them to original destination. I have managed to get destination ip and port from headers but i have no idea how to communicate with remote server and then write response back to the source. I think this is possible because there is this app. Here is my first first attempt: private void runVpnConnection() throws Exception { configure(); FileInputStream in