[vox-tech] Overwhelmed with squid install on CentOS 5

Ryan Northrup northrupthebandgeek at gmail.com
Wed Oct 31 16:20:43 PDT 2012


Dave,

Normally (as far as I'm aware), this would be done with the "iptables"
command, adding that whole string as its arguments:

# iptables -A RH-Firewall-1-INPUT -m state --state NEW,ESTABLISHED,RELATED
-m tcp -p tcp --dport 3128 -j ACCEPT

Try running that in a terminal as root.

- Ryan

On Wed, Oct 31, 2012 at 4:01 PM, David Spencer <spencer at pageweavers.com>wrote:

> I'm trying to install squid on one of my CentOS 5 servers. To do this, I
> found a number of cookbook pages using google. Many of them looked like
> this one:
>
>
> http://www.baremetalcloud.com/index.php/en/homepage/105-english/mbcdocumentation/how-to/108-installing-squid-proxy-server-on-centos
>
> Installing squid was easy enough. When I got to the last part about
> updating the iptables file "/etc/sysconfig/iptables" with this:
>
> -A RH-Firewall-1-INPUT -m state --state NEW,ESTABLISHED,RELATED -m tcp -p
> tcp --dport 3128 -j ACCEPT
>
> that was easy because that file was empty. However, when I tried to
> restart iptables I got an error:
>
> Applying iptables firewall rules: iptables-restore: line 1 failed
> [FAILED]
>
> There's too many moving parts here. Do I have a syntax error in the
> iptables command or is there something else I just missed because it wasn't
> in the cookbook. Any guidance is appreciated.
>
> -- Dave Spencer
>
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lugod.org/pipermail/vox-tech/attachments/20121031/be6eab6f/attachment.htm 


More information about the vox-tech mailing list