Re: iptables question

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

 



I want to enable lpr printing (from an Apple Powerbook running MacOS X 10.2) for printers on my Fedora Core 1 box. According to the /etc/services file, printing services are given as:

printer  515/tcp  spooler  # line printer spooler
printer  515/udp  spooler  # line printer spooler

Andrew, I usually do firewall scripts by hand. you can make an executable script in
/etc/rc.d/rc3.d/S11.rc.firewall and copy it to
/etc/rc.d/rc5.d/ for the gui startup


simply what you want is:
# iptables -A INPUT -p tcp --dport 515 -j ACCEPT
# iptables -A INPUT -p udp --dport 515 -j ACCEPT
# service iptables save
# iptables -L -n

but look into:
http://netfilter.org/documentation/index.html

_________________________________________________________________
Say ?good-bye? to spam, viruses and pop-ups with MSN Premium -- free trial offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/





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

  Powered by Linux