Hey Reddit community!
Iāve got an exciting project in mind and Iām eager to hear your thoughts and suggestions. Iām looking to develop a Peer-to-Peer (P2P) network that can route internet traffic through the nearest available hotspot or a nearby userās device with a working internet connection. The aim is to assist folks who struggle with unreliable internet connections by allowing them to connect to a nearby userās stable connection.
Key Features Iām Exploring:
- Seamless connection to the nearest available hotspot networks.
- The ability to reject connection requests to certain domains (for privacy and security).
- Essentially, think of it as a āhotspot wrapperā or a similar concept.
Iād love to know if anyone has experience with P2P networks or similar projects. What technologies, tools, or best practices would you recommend for building such a system? Your insights and advice would be greatly appreciated!
Thanks for your input! 
i think your goal is akin to WiFi Master Key, you may start from their journey
the downside is that, the hotspot provider e.g another phone user need to sacrifice their battery power even if there are no connected client to their phone. what is your view on this?
also (since youāre posting in this subreddit,) WireGuard might be useful for encrypting in-transit data when flowing through the hotspot provider. think of it like:
- Clear text data
= Wireguard tunnel
[ Origin ---(Wireguard)=]===[ Peer ]===[ Exit node/VPN? ]---[ Destination ]
Youāre absolutely right about the downside of hotspot providers sacrificing their battery power, which can be a significant concern. Balancing this with user incentives and efficient power management would be crucial for a successful implementation. Regarding WireGuard, itās an excellent suggestion for enhancing security during data transit through the hotspot provider.
But what Iām trying to achieve is a app which creates a (Peer-to-Peer) network between mobile devices and letās say one of the device donāt have access to the internet then it can connect to the nearest devices available in the network and routes traffic through that peer in the network whose internet is working. But I want to allow only certain request to pass and not all. Do you think it is possible?