Open lotux opened 6 months ago
If you have enough time and patience, this is certainly possible. Please refer to the wireguard Android client, which is also based on the Go language and is used as a library for Java to call. It just needs some refactoring to be used as a library
I was wondering if android support can be added too, since android has don't allow direct access to tun device and only allow to read and write from FD provided by Android
VPNService
, inopenconnect
project, this is done bysetup_tun_fd
were it only takeFile Descriptor ID
from callerthis will allow to use this project as a library in an Android application as well