I’m a bit confused about how I might be able to set up a raspberry pi as a simple http proxy on top of Balena. On a raw pi, I’ve figured out how to disallow a gateway and bind port eth0 to the subnet/address I’m trying to proxy too, but I’m not clear on how I might allow the same operation with Balena in the mix.
The steps I take with a vanilla Pi are as follows:
create a wpa_supplicant.conf file to allow for headless wifi adoption on first boot (this shouldn’t be necessary if I use a Balena image with wifi & ethernet, correct?).
Update the OS and install haproxy (pretty sure I can cobble this together)
Modify dhcpcd.conf to disable gateway (this is where I’m getting hung up)
Update the haproxy config for my purposes (also pretty sure I can cobble this together)
Thanks for the help!