Example mitmproxy container for PLUS members using SPR
from the SPR directory
cd plugins
git clone https://github.com/spr-networks/spr-mitmproxy
echo [\"plugins/spr-mitmproxy/docker-compose.yml\"] > ../configs/base/custom_compose_paths.json
docker compose restart superd #temporary workaround for bug in <= v0.3.1, you can skip this later
cd spr-mitmproxy
docker compose build
- Add mitmproxy as a plugin
- be sure its been added to
configs/base/custom_compose_paths.json
as above - Enable it by toggling the slider
- Add
mitmweb0
to the custom interface rules. You can verify your container's network address in the Container tab -> UnderFirewall-> Custom Interface Access
Add a new rule, make sure mitmproxy haswan
at least to access the internet.
- Create a forwarding rule to the container web interface :8081. Pick an arbitrary IP in the subnet -- although not the same one as the container as that confuses dnat.
- Create a site forward rule with PFW for traffic to intercept
Then make a curl request from any of the LAN devices, and it should populate on the mitmweb host. This was the :8081 host that was earlier defined