Page 1 of 1

Need ideas to implement client to client communication with open vpn

Posted: Wed Oct 25, 2023 8:23 am
by sania-irfan
Hi there!

I would like to enquire about creating server configuration in android device using your opensource repo. Following are some questions regarding the possibility of the this use case.

1. Is it possible to integrate server configuration file and establish a server on android device on which different clients will be connected?

2. Can we create a socket on vpn connections to listen to the data receive from another client app?

3. Can we communicate between the clients that are connected to the same vpn by means of sockets or anything?

If yes then please explain with any helpful material. Note we cant buy vpn server to achieve this. We need vpn configurations.

We are using ics-openvpn for android

Re: Need ideas to implement client to client communication with open vpn

Posted: Wed Nov 29, 2023 8:08 am
by benisfroms
Once you have established a VPN connection and connected clients to it, you can communicate between them using the same socket programming approach discussed in step 1. In general, I recommend that you buy proxies for yourself separately and do not deny yourself anything. Clients connected to the VPN will be able to communicate with the server and with each other if your server is configured to handle multiple connections simultaneously.