[squid-users] want ignore if the ips added to the interface and force running it
squid3 at treenet.co.nz
Thu Jan 11 07:01:13 UTC 2018
On 11/01/18 19:36, --Ahmad-- wrote:
> Hello Guys .
> sometimes i add like 100 ips on server interfaces then i run squid including the 100 ips in the config
> config like :
> http_port 22.214.171.124:8080
> acl ip1 myip 126.96.36.199
> tcp_outgoing_address 188.8.131.52 ip1
> and its ok ……
> now say the ip 184.108.40.206 wasn’t added to the interface config , when i run squid service , i will see error in squid say “cant combined address “ and squid will crash .
> so …. what i need to do it is :
> i want to force squid to be run even if the ip address not added to the network card .
> is there any directive or edit c++ files ?
Use wildcard port(s) and a localip ACL. Like so:
acl ip1 localip 220.127.116.11
tcp_outgoing_address 18.104.22.168 ip1
More information about the squid-users