Droidspaces
1.2K subscribers
243 photos
26 videos
31 files
105 links
Download Telegram
Side project: VirtualAP

Turns your rooted Android phone into a full Wi-Fi router with custom gateway IPs, DNS servers, bands, channels, and port forwarding.

My setup: S10 as a pocket Jellyfin hotspot.

- Jellyfin runs inside Droidspaces with port 8096 forwarded
- VirtualAP creates a 5GHz hotspot with a custom gateway (67.67.69.69)
- Any device on the hotspot opens 67.67.69.69:8096 and gets Jellyfin instantly

An 80MB FLAC loads in under a second.

My primary router caps out at 12.5 MB/s. With VirtualAP, I can push over 100 MB/s over the direct link. Massive improvement for homelab use.

Bonus
:
- Supports Wi-Fi to Hotspot mode. Connect to any Wi-Fi network and share it with others. Your phone acts as a repeater, no extra hardware needed.
- Supports VPN interfaces as upstream. Set tun0 from WireGuard as the upstream and every connected device is tunneled through the VPN automatically.

Check it out: https://github.com/ravindu644/VirtualAP/releases/latest

@Droidspaces
🔥185
We did it!

A Wi-Fi hotspot managed by an OpenWRT container using Droidspaces on an Android phone!

It's still a proof of concept, but it has a lot of use cases and fits our philosophy perfectly 😉

The VirtualAP project was just an experiment to mess around with AP creation on Android.

This is the real thing we wanted 🗿

@Droidspaces
🔥26🎉4
Droidspaces x OpenWRT x VirtualAP integration!

This is our final goal!

Making the device into a fully functional Wi-Fi router.

VirtualAP is just a middleman whose only purpose is creating the hotspot.

OpenWRT has the full freedom to manage the vaplan0 interface inside its own isolated network namespace, as well as nft/iptables and firewall rules, with DHCP and DNS 🗿

OpenWRT never touches your phone's hardware. No more kernel panics!

Testing:

https://github.com/ravindu644/VirtualAP/releases/tag/v1.4.0

Notes: We'll ship a custom OpenWRT rootfs. Until then, iptables-legacy must be installed inside your OpenWRT container to do this :)

@Droidspaces
🔥218👏1
New Gateway mode, official OpenWRT rootfs with VirtualAP compatibility, container-to-container networking (OpenWRT manages the networking, not Droidspaces), and more!

It's tinkering time 🍳

CI: https://t.me/DroidspacesCI/521?single
11❤‍🔥3🔥2
The ultimate flex: an S10 as a fully working Wi-Fi router

Both the PC (via the VirtualAP Droidspaces bridge hotspot) and the Ubuntu container hosting Jellyfin are connected to the OpenWRT container on the same device.

I can access my services using the static IP I assigned to the Ubuntu container via OpenWRT.

I can plug any container I want into my OpenWRT router and manage them individually with their own firewall, DHCP, and DNS configurations, which is insane.

I bet no one ever imagined such complex networking was possible inside Android, while running Android, without Android even noticing, without breaking Android's networking, and under full SELinux enforcing mode.

The cherry on top: with our new "auto boot priority" feature, the OpenWRT container starts first, and then the other gateway containers start second.

This means the networking is fully automated, and you don't even need to unlock the phone to decrypt it.

This is the beauty of Droidspaces :)

You can do the unthinkable.

@Droidspaces
🔥226🗿5
😁13🗿91
Droidspaces
#meme
🗿
🗿32👍1🤝1