Squid + Wccp + Firewalld

Home » CentOS » Squid + Wccp + Firewalld
CentOS No Comments

Hi Everyone,

I’m trying to get squid + wccp on a CentOS 7 box working with a Cisco router. I’ve done this before several times using CentOS 6 and iptables, but never on CentOS 7 with firewalld.

I’ve searched far and wide for clear, concise instructions on how to do what I want in CentOS 7. I’ve pieced together what I’ve found to come up with what I thought should work. Unfortunately, squid simply refuses to respond.

At the moment, it looks like squid isn’t forwarding the requests it’s receiving from the router over the GRE tunnel interface. The cisco router is showing the tunnel is up and active, which means wccp is working in that sense.

I’ve edited sysctl.conf exactly as I would have on a CentOS 6 box. Squid is configured like it would have been on a CentOS 6 box, too. Here are the firewall rules:

[root@s0989-stocac1 ~]# firewall-cmd –list-all public (active)
target: default
icmp-block-inversion: no
interfaces: ens192 tun0
sources:
services: ctc-custom dhcpv6-client ssh
ports: 8081/tcp 3127/tcp 3128/tcp 8080/tcp
protocols:
masquerade: yes
forward-ports: port