Search squid archive

Allowing access from one specific IP to ONLY one specific domain

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

 



Dear fellows,
One question about squid: is it possible to "tell" Squid to permit
access from one IP in my LAN to ONLY one specific domain? Any other
traffic from that particular IP directed to ANY other domains must be
denied. Also, the rest of IPs in the LAN must continue to have total
http access to any site.

I tried with:

acl blocked src 192.168.1.59/32
acl allowed dstdomain domain.com
http_access allow blocked allowed
http_access deny blocked
acl our_networks src 192.168.1.0/24
http_access allow our_networks

but it did not work! With these acls the .59 IP gets completely blocked

Thanks in advance for any light you may shed upon.
Regards,
Fred


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

  Powered by Linux