Hi Renne, for this reason I use a jump server based on SSH in the middle of the nodes.
<snip> [authorized_keys] no-port-forwarding,no-X11-forwarding,command="~/bin/poll .my-ip ; cat ~/.remote-ip" ssh-rsa AAAAB3N ... </snap> After you have received the IP addresses you can use "wg" to set the new endpoint address on both nodes. The small script named "/bin/poll" uses the environment variables of SSH to wrote the current IP into a file. Best regards, Markus On 29.12.18 13:16, Rene 'Renne' Bartsch, B.Sc. Informatics wrote: > Hi, > > we have Android and Manjaro road warriors which are often behind > internet sockets with dynamic IP addresses AND Carrier Grade NAT. > > Does anyone know a trick how to initiate a direct Wireguard connection > between to road warriors without knowing their endpoint IP addresses/ports? > > Regards, > > Renne > _______________________________________________ > WireGuard mailing list > [email protected] > https://lists.zx2c4.com/mailman/listinfo/wireguard _______________________________________________ WireGuard mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/wireguard
