Pi Proxy Bridge
- 6 Devlogs
- 17 Total hours
Raspberry Pi as a WiFi-to-WiFi hotspot with transparent proxy by Xray
Raspberry Pi as a WiFi-to-WiFi hotspot with transparent proxy by Xray
It has been a long time since the last devlog, but I finally added some quality-of-life features.
PiRouter serves an admin webpage on a standard ip 192.168.50.1 behind the auth (default password is Admin, but don’t tell anyone). It has a number of configurations for the wifi and proxy. It also has a theme switch, but i don’t think that anyone will ever use the light theme ;p
Fixed some bugs and added a bit more configurability during the installation process.
I think that this will be my last devlog, so thanks to anyone watching this. Bye!
From now on, you don’t need an additional USB dongle for Pi Proxy Bridge to work!
Updated the installer. It now starts by asking which mode you want (virtual interface or second adapter). Then, it asks configuration questions like
I also updated the README to better explain how my project works, as well as some setup tips.
Spent two hours cooking my installer to perfection. But now we also have a logo!
The time wasn’t logged, but I spent an hour trying to find free video editing software and blur out my ip address :p
Added Xray Core and the routing rules so everything works together. Checked it with ifconfig.me. Also, I decided to automate the whole configuration process and made a bash installation script, which seems to work.
Learned a bunch of cool little bash things along the way, like set -e (which stops the script if an error occurs) or the difference between > and &>.
Installed and configured hostapd (a tool for creating a hotspot)
After setting up an access point, my phone did not connect and was just saying “Obtaining IP address”. Turns out, I also needed to install a DHCP server (dnsmasq) so it assigns different IP addresses to devices on the network.
Sketched out how my Pi Proxy Bridge works.
Raspberry Pi (4B in my case) connects to my home wifi and shares its own hotspot at the same time. Anything on that hotspot gets routed through a proxy. My separate webcam (which needs a proxy to run, but can’t start one itself) connects to the hotspot and gets a proxied internet connection.
Profit.