here is a bunch of checks I have used,
(not all of them have been real usefull to me other than)
to see squid being referenced and using resources.
If you have not set an ip for squid it may be running on 127.0.0.1 (localhost)
check firewall settings, and portforwarding. see forwarding check below.../etc/sysctl.conf
these codes only return info. they don't change anything.
Hope they help you to diff the changes between you centos system and fedora.
check the ips, and ports are set (3128, 1080, there is some margin for non standards.)
Code:
#!/bin/bash
#
echo "netstat -an, show network stats"
sudo netstat -an
echo "iptables -t nat -nvL, check FW, nat Chain PREROUTING for squid port activity"
sudo iptables -t nat -nvL
echo "iptables -nvL"
sudo iptables -nvL
echo "ifconfig"
sudo ifconfig
echo "cat /proc/sys/net/ipv4/ip_forward, forward squids ip to the nic ip"
cat /proc/sys/net/ipv4/ip_forward
echo "netstat -tanp | grep 3128"
sudo netstat -tanp | grep 3128
echo "squid -v"
sudo squid -v
echo "cat /etc/squid/squid.conf | grep -v '#', show file without commented lines."
cat /etc/squid/squid.conf | grep -v '#'
echo "ps ax | grep squid #ensure the redirector is running"
sudo ps ax | grep squid
echo "grep DPT=3128 /var/log/syslog -c #change portnumber for others"
sudo grep DPT=3128 /var/log/syslog -c
echo "tail /var/log/squid/access.log"
sudo tail /var/log/squid/access.log
cheers, Glenn