Not able to setup CentOS 7 as gateway [Using squid proxy]

Hello,

Did anyone setup a CentOS7 as a gateway (with squid transparent proxy).
I am trying to do so but not able to setup.

I setup squid [3.5.20], iptables (using it instead of firewalld) and all the necessary IPtables rules but nothing work.

It work previously but access.log of squid not getting updated with the website hits.

Please help me here.

I followed the below links but nothing is working as expected.

[HowTo] Install and Configure Squid as Transparent Proxy - Ivan Kristianto
Installer et configurer le proxy Squid sous CentOS 7 - Documentation - Wiki - Linuxtricks
SilverHawk: Transparent Proxy with CentOS 7, Squid, and Firewalld

Previously how? Different CentOS version? This machine is the router?

1 Like

I am able to setup gateway using CentOS7 now.

Don't you think it would be helpful for others if you told us what the problem was and how you solved it?

I disabled NetworkManager and firewalld and use legacy network and iptables to get it working on CentOS7. Firewalld and NetworkManager are kind of wrappers which causes this issue.:b:

1 Like