Raspberry Pi as a WiFi-to-WiFi hotspot with transparent proxying via Xray.
Connects to your existing WiFi and creates an access point. Each device that connects to the hotspot gets routed through the proxy. Easily configurable through the admin webpage.
- Raspberry Pi with a WiFi module and Raspberry Pi OS Lite 64-bit installed
- Second USB WiFi adapter (optional, but recommended)
The installer detects your hardware and lets you choose one of the modes:
- Virtual interface (uap0) uses your Pi's existing radio for both the WiFi connection and the hotspot. No extra hardware is needed, but the hotspot shares the same channel as your router connection and roughly halves the available bandwidth.
- Two separate interfaces (wlan0 + wlan1) uses a second USB WiFi adapter to create the hotspot. There are no channel or speed restrictions, but it requires extra hardware.
git clone https://github.com/felowctl/pi-proxy-bridge
cd pi-proxy-bridge
chmod +x install.sh
sudo ./install.shAfter the installation, you can access the admin page on http://192.168.50.1 with the default password Admin
If using the USB adapter, see this hostapd patch.
Tested on a Raspberry Pi 4B with a TP-Link Archer TX1U Nano and this driver.
