Re: Firewalled print server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Am Do, den 24.02.2005 schrieb Louis Garcia um 22:22:
> 
> > This is my /etc/sysconfig/iptables script:
> > 
> > # Firewall configuration written by system-config-securitylevel
> > # Manual customization of this file is not recommended.
> > *filter
> > :INPUT ACCEPT [0:0]
> > :FORWARD ACCEPT [0:0]
> > :OUTPUT ACCEPT [0:0]
> > :RH-Firewall-1-INPUT - [0:0]
> > -A INPUT -j RH-Firewall-1-INPUT
> > -A FORWARD -j RH-Firewall-1-INPUT
> > -A RH-Firewall-1-INPUT -i lo -j ACCEPT
> > -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
> > -A RH-Firewall-1-INPUT -p 50 -j ACCEPT
> > -A RH-Firewall-1-INPUT -p 51 -j ACCEPT
> > -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
> > -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
> 
> You opened port 631 for UPD only.

Is the ipp protocol TCP also? Is so why would redhat default to UDP?

> > -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> > -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
> > -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
> > COMMIT
> > 
> > 
> > I can't print nor can I get to the cups admin page while the firewall is running.
> > This is the default script fedora uses. Port 631 is there but does not let anything
> > in.
> 
> Accessing the CUPS admin page with a browser on port 631 TCP is used.

Got it. But why can't it print though? Unless printing is TCP also?

> > Trying to install ethereal but net-snmp is a dependency. net-snmp is dependent of
> > libnetsnmp.so.5 which I can't find. Which package is this?
> 
> net-snmp-libs

Dumb little me :(

--Louis



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux