You are browsing as a guest. Sign up (or log in) to start making projects!

Pi Proxy Bridge

  • 6 Devlogs
  • 17 Total hours

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

Open comments for this post

5h 55m 1s logged

The final touches

It has been a long time since the last devlog, but I finally added some quality-of-life features.

The admin page

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

Other stuff

Fixed some bugs and added a bit more configurability during the installation process.

That’s it!

I think that this will be my last devlog, so thanks to anyone watching this. Bye!

0
0
8
Open comments for this post

4h 12m 42s logged

Virtual AP update

From now on, you don’t need an additional USB dongle for Pi Proxy Bridge to work!

Better interface

Updated the installer. It now starts by asking which mode you want (virtual interface or second adapter). Then, it asks configuration questions like

  • Hotspot SSID
  • Hotspot password
  • Hotspot’s channel
  • Whether to use 5GHz

README update

I also updated the README to better explain how my project works, as well as some setup tips.

0
0
5
Ship #1 Pending review

Say hi to my project!!

Pi Proxy Bridge is a setup where a Raspberry Pi works as a WiFi-to-WiFi proxy access point with support for Xray Core.

At home, we have a security webcam that doesn't work without a proxy, but it can't connect to one itself. So, I decided to build my own proxy bridge for it.

This is the first working version, and I want to expand this project further, probably wrapping everything up in Docker and adding a router local web page for easier configuration. But for now, you can check out the video demonstration!

  • 4 devlogs
  • 7h
Try project → See source code →
Open comments for this post

2h 17m 41s logged

Bulletproofing the install script

Spent two hours cooking my installer to perfection. But now we also have a logo!

What’s new

  • Added several checks for sudo access, WiFi interfaces and required packages
  • Added the uninstall script
  • Made a video showcasing Pi Proxy Bridge at work

The time wasn’t logged, but I spent an hour trying to find free video editing software and blur out my ip address :p

0
0
4
Open comments for this post

2h 57m 45s logged

Feature-full prototype + installation script 

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 &>

0
0
3
Open comments for this post

1h 13m 21s logged

It works! (kinda) 

Installed and configured hostapd (a tool for creating a hotspot) 

Sounds simple but… 

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. 

But there’s no proxy right now, so…. more updates are to come

0
0
1
Open comments for this post

17m 5s logged

Architecture Sketch

Sketched out how my Pi Proxy Bridge works.

The Idea

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.

Details

  • Needs a dedicated USB wifi dongle
  • No WireGuard or OpenVPN, because they often get blocked. Went with Xray-Core instead (vless, trojan, shadowsocks, etc.)
0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…