<div dir="ltr"><div dir="ltr">Yes both were before the cache, but I wasn't calling the correct group in the ACL, which caused the issue. </div><div dir="ltr"><br></div><div><br>Thanks for you help. </div><div><br></div><div>Now to figure out why it's slow</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 30, 2018 at 2:17 PM Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 11/30/18 11:51 AM, Wire Cutter wrote:<br>
<br>
> cache_peer_access peerA1 allow port_8080<br>
> <br>
> cache_peer 192.168.1.2 parent 8800 0 round-robin no-query name=peerA1<br>
<br>
<br>
> Then this is the error I get when I start the service <br>
> <br>
> Bungled /etc/squid/squid.conf line 3148: cache_peer_access peerA1 allow port_8080<br>
<br>
Did you define peerA1 and port_8080 before (you used them on) line 3148?<br>
If not, you should.<br>
<br>
Alex.<br>
<br>
<br>
> On Thu, Nov 29, 2018 at 10:44 AM Alex Rousskov wrote:<br>
> <br>
>     On 11/29/18 7:57 AM, Wire Cutter wrote:<br>
> <br>
>     > I’ve created 4 ports for clients to talk to, then created ACL<br>
>     lists for<br>
>     > those ports.  From there I’ve tried (and failed) to create naming<br>
>     groups<br>
>     > for cacheing peers, then added those to ACLs and it fails. Any ideas?<br>
> <br>
>     Use cache_peer_access to allow http_port X traffic (and only that<br>
>     traffic) to peer group Y:<br>
> <br>
>       # rules for peer group A<br>
>       cache_peer_access peerA1 allow receivedOnPortForPeersA<br>
>       cache_peer_access peerA2 allow receivedOnPortForPeersA<br>
>       cache_peer_access peerA3 allow receivedOnPortForPeersA<br>
>       ...<br>
>       # rules for peer group B<br>
>       cache_peer_access peerB1 allow receivedOnPortForPeersB<br>
>       cache_peer_access peerB2 allow receivedOnPortForPeersB<br>
>       ...<br>
> <br>
> <br>
>     Depending on your traffic and needs, you may also need to allow<br>
>     non-hierarchical requests to go to peer:<br>
> <br>
>       nonhierarchical_direct off<br>
> <br>
>     and/or to prohibit direct connections for portX:<br>
> <br>
>       never_direct allow receivedOnPortForPeersA<br>
>       never_direct allow receivedOnPortForPeersB<br>
> <br>
> <br>
>     Once you get this working, please make Squid documentation improvements<br>
>     that would have allowed you to figure this out on your own.<br>
> <br>
> <br>
>     HTH,<br>
> <br>
>     Alex.<br>
>     _______________________________________________<br>
>     squid-users mailing list<br>
>     <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
>     <mailto:<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a>><br>
>     <a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
> <br>
> <br>
> <br>
> -- <br>
> _________________________________________________________________________________<br>
> <br>
> This transmission may contain information that is privileged,<br>
> confidential and exempt from disclosure under applicable law.  If you<br>
> are not the intended recipient, you are hereby notified that any<br>
> disclosure, copying, distribution, or use of the information contained<br>
> herein (including any reliance thereon) is STRICTLY PROHIBITED.  If you<br>
> received this transmission in error, please immediately contact the<br>
> sender and destroy the material in its entirety, whether in electronic<br>
> or hard copy format. <br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small">_________________________________________________________________________________</span></div><div><span style="font-size:small"><br></span></div><span style="font-size:small">This transmission may contain information that is privileged, confidential and exempt from disclosure under applicable law.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED.  If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. </span><br></div></div>