So… today it’s working. I’m still not sure that everything is done by the book but this is it:
#WAN interface
#My main interface 192.168.130.1 (router on a stick with several VLAN-s on it)
#My second interface 192.168.120.1 (router on a stick with several VLAN-s on it)
In Services – Squid Proxy Server under Proxy Interface(s) I have selected both the 130.1 and 120.1 interface and every VLAN interface.
In Firewall – NAT I have this:
130InterfaceNet TCP/UDP * * * 53 (DNS) 127.0.0.1 53 (DNS) Redirect DNS
120InterfaceNet TCP/UDP * * * 53 (DNS) 127.0.0.1 53 (DNS) Redirect DNS
(in Firewall Rules I allow/block traffic between VLAN-s)
And in the WPAD file everything returns to the 192.168.130.1:3128
My two questions are:
#1 Why do I only have to make the NAT port forward for the main interface and not for the VLAN interfaces?
#2 Is it OK, since it does work, that the WPAD returns everything to that one 192.168.130.1:3128 or should the 192.168.120.0 network return to 192.168.120.1:3128?