http_port
seems to be the option you are looking for. Documentation states that http_port
accepts port
, hostname:port
and 1.2.3.4:port
as format. You could specify the IP address of the tun0
interface to bind Squid to that particular interface.
For example:
http_port 192.168.42.1:8080