I want to use squid as a transperent proxy in my local network to cache HTTP for example. If I understand it correctly, it is necessary to direct any outgoing network traffic through the PI. It follows that the BananaPI has to interact as a gateway. Any ethernet port at my PI is bridged to br0 (192.168.2.1/24). At the end, my setup should look like this:
I haven’t done much with iptables yet. Any ideas to configure the firewall right? IPv4 forwarding is active.