I've AP 2 interface they're ip 192.168.200.1, 192.168.201.1 HTTP access from each interface i'm redirect it to difference squid port
192.168.200.0/24 ==> 192.168.200.1:3129
192.168.201.0/24 ==> 192.168.200.1:3130
with these line in iptables.conf
-A PREROUTING -i wlan0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.200.1:3129
-A PREROUTING -i wlan1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.201.1:3130
and in squid3.conf
http_port 192.168.200.1:3129 intercept name=ap1
http_port 192.168.201.1:3130 intercept name=ap2
access_log daemon:/var/log/squid3/ap1/access.log squid
access_log daemon:/var/log/squid3/ap2/access.log squid
But now it's write both file with same data how to separate access data to each access.log file.