You are not logged in.

#1 2007-05-24 17:40:53

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Iptables blocking CUPS

I am running iptables with simple rule file, but its blocking cups, i am unable to open localhost:631, what rules should i add to iptable roule file to enable this. This is what current is there in my iptables rule file:

*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT 
COMMIT

Offline

#2 2007-05-24 17:43:01

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Iptables blocking CUPS

You need to allow the loopback:

-A INPUT -i lo -j ACCEPT

Other things will probably also break if you don't.

Offline

#3 2007-05-24 20:15:03

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Iptables blocking CUPS

Thank You its now working.

Offline

Board footer

Powered by FluxBB