Search squid archive

Re: want ignore if the ips added to the interface and force running it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 1.1.1.1:8080
acl ip1 myip 1.1.1.1
tcp_outgoing_address 1.1.1.1 ip1

and its ok ……




now say  the ip 1.1.1.1 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:

 http_port 8080
 acl ip1 localip 1.1.1.1
 tcp_outgoing_address 1.1.1.1 ip1


Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux