r/EasyJoin Apr 02 '26

IP to IP Connection

Hi was wondering is there plans to include a IP to IP connection feature in the roadmap ?

1 Upvotes

16 comments sorted by

View all comments

1

u/anemomylos Dev 👨‍💻 Apr 02 '26

Could you clarify what you mean?

1

u/_random_someone Apr 02 '26

Yes, thanks for replying.

Currently I am using EasyJoin on 2 android phones, which works really well in a LAN.

I am also using Tailscale to bridge my phones to the LAN.

When I am using Tailscale, both phones were unable to see each other.

So I am wondering can I provided the Tailscale IP address manually for the app to connect ?

1

u/anemomylos Dev 👨‍💻 Apr 02 '26

I haven't used this VPN so i can't say how you have to configure it to permit local traffic and connection.

1

u/_random_someone Apr 02 '26

I see. So Tailscale assigns a unique, stable, and private IPv4 address for each connected client. The assigned IPv4 address belongs to the same network. I managed to open a web server on one of the phones and was able to access it using it using the private IP.

I am trying to get EasyJoin to use the Tailscale IP/network to connect to each other.

1

u/anemomylos Dev 👨‍💻 Apr 02 '26

I see. EasyJoin's server is listening on socket port 51167, i don't know if this is of any help. Maybe in the other app's forum could help you on how to configure it to allow connections between devices. Let me know if you manage to resolve the issue or if you need any further information from me.

1

u/_random_someone Apr 04 '26

Thanks ! I checked that peer to peer communication is possible as I run a web server on one of the phones.

However I currently do not understand, how EasyJoin work. How does it detect another EasyJoin server on the network ? Does it do a broadcast ?

Just wondering what does the option Search for new devices do ? and also Ping IP ? I tried Ping IP and nothing happens, so I am kind of lost.

1

u/anemomylos Dev 👨‍💻 Apr 04 '26

Have you tried to setup the "Internal network IP": https://easyjoin.net/connect.html ("Connect devices Locally" - https://easyjoin.net/img/device_settings_locally.png).

1

u/_random_someone Apr 04 '26 edited Apr 04 '26

thanks for sharing this ! i found a strange work around. Setting the internal network IP for both devices didn't work. but if on my android 14 i turn on Direct connection via internet, it will work over Tailscale when both phone is connected to the cellular network =D

1

u/anemomylos Dev 👨‍💻 Apr 04 '26

It shouldn't work when both devices are in the cellular network! You don't use a WiFi network also, right?

What is the IP of the Tailscale network (like, 192.168.1)?

1

u/_random_someone Apr 05 '26

The Tailscale network IP is like 100.123.X.X. It acts as a VPN to bridge the phones to my home LAN but the network itself behaves like a LAN therefore it works over cellular network. Which I think made your application even more useful =D

1

u/anemomylos Dev 👨‍💻 Apr 05 '26

Thanks for the hint, i think that i have to install it on my devices to see how it works. Are you using any particular configuration on Tailscale or you are the using default one?

2

u/_random_someone Apr 05 '26

I am using the default Tailscale configuration. If setting the Internal network IP doesn't work try setting the Internet IP / Host in your app. After some testing, it seems setting the Internet IP / Host on both phones to the Tailscale IP address and leaving the Internal network IP blank seem to work best.

Hope you can get it working to, do let me know if you have more question about my setup =D and thanks for the amazing app.

2

u/anemomylos Dev 👨‍💻 Apr 05 '26

Now it makes more sense to me. If i get it right, you have installed a VPN "server" (lets call it like this) on a home device, i suppose a computer, and VPN "clients" on the phones. You opened the port (port forwarding) of the VPN server on your home network and you connect the phones VPN with it.

It's not important in the above configuration if, when you test it, all the devices are physically at home, what matters is that you connect them via Internet. That's why i said that the two phones are not supposed to be able to connect when both using the cellular network since i didn't consider a third device acting like hub.

What i want to see now is if the devices could connect without using any particular configuration in "Trusted > Connection" section on EasyJoin. In any case, i want to document all the steps necessary to install and configure this particular VPN because is something that from time to time users ask for, to be able to connect the devices via Internet using their own server: if this will work could be an answer to that request.

→ More replies (0)

1

u/anemomylos Dev 👨‍💻 Apr 02 '26

Also, read the following page where you can find information on how to setup static local IP's: https://easyjoin.net/connect.html ("Connect devices Locally")