Skip to content

felowctl/pi-proxy-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi Proxy Bridge

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.

Prerequisites

  • Raspberry Pi with a WiFi module and Raspberry Pi OS Lite 64-bit installed
  • Second USB WiFi adapter (optional, but recommended)

Installation types

The installer detects your hardware and lets you choose one of the modes:

  1. 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.
  2. 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.

Installation

git clone https://github.com/felowctl/pi-proxy-bridge
cd pi-proxy-bridge
chmod +x install.sh
sudo ./install.sh

After 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.

Demonstration

Demonstration Gif

About

Raspberry Pi as a WiFi-to-WiFi hotspot with transparent proxy by Xray

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors