to do this just reconstruct the target IP for the redirection ip by analyzing the coincidence of each byte but I don't know if the zip bytes compressed with zlib or encrypted will interfere with the analysis and I'm tired to do it now and test it. if you can do it yourself if (playerInputBytes192168 ... == ThisMachineExternalIpBytes192168 ...) then vpnUser.output.writeBytes (vpnUserIp); or zlib.descompress (deflate) and after zlib.compress (inflate)
I will make videos and screenshot tutorial as I update every update. you can ask your questions in the spigot's private. make a donation to motivate me to finish all the ideas for this plugin.this plugin can also be used to simplify the construction of other games, software and services with additional independent functionality for cmd (command line) of the windows. redirecting local binds to remote binds is a very useful feature. even more with volunteers like brawler browser p2p or tor network and with the differential of using the physical network transport without the need to install any software like hamachi, brawler or tor by the user players that will connect to your service redirected by another network to bypass the firewall with p2p software in client and server like vpn remote ip dhcp. the difference with my plugin / software is that it will not need any software from the player. for it to connect to your network. because you are not getting a virtual ip addres on a virtual network dhcp from some vpn equals 192.168.0.101 from your router. you are getting a physical ip and a physical port from the internet from someone who wants to lend the network without a firewall to you create your service. redirecting your address from router 192.168.0.101:25565 through outgoing traffic to remote-ip: 25564 that will be listening through incoming traffic.