Open bbigras opened 3 years ago
Android is pretty popular in some IoT spaces so having some way to add an Android device would be amazing.
Absolutely, we're interested in building both mobile clients and GUIs for desktop OSs.
We haven't started on those and would love help/involvement if there is anyone interested or experienced in that realm.
I'm interested in this. Has anything happened on this front yet?
@mrdomino no, there hasn't been any work done yet on mobile apps. One possibility is to simply fork https://github.com/WireGuard/wireguard-apple and https://github.com/WireGuard/wireguard-android and make modifications to support innernet networks.
I managed to add a client "by hand" which is really awkward, since you need to maintain all the changes. I successfully added an Android device with the installed official Wireguard app linked above. Here are the steps:
innernet-server add-peer
interface.network-name
interface.address
server.public-key
server.external-endpoint
<root-cidr>
(e.g 10.60.0.0/16 from README example)curl -v http://<server.internal-endpoint>/v1/user/redeem -H 'X-Innernet-Server-Key: <server.public-key>' -H 'Content-Type: application/json' -d '{"public_key": %GENERATED PUBLIC KEY%}'
. The response should have the code 204.curl -X GET http://<server.internal-endpoint>/v1/user/state -H 'X-Innernet-Server-Key: <server.public-key>'
<public_key>
<candidate>
<ip>/32
Now it should work, considering all the devices are staying on the same networks. If changed, last two steps should be repeated (Endpoint
need to be changed with some other candidate). Hostnames are also unavailable automatically, one may need to either edit /etc/hosts or set up a DNS server for that. And yeah, this flow might break some day, keep that in mind.
Any plan for an Android client?
If so, what would be the alternative to iptables on non-rooted android clients?
Thanks, nice project!