Help with iptables firewall rules

Aleksandar Milivojevic amilivojevic at pbl.ca
Mon Feb 7 15:15:07 UTC 2005


Robert L Cochran wrote:
> I'm trying to allow my print server on 192.168.1.160 to communicate with 
> my machine. Otherwise, I don't seem able to print to my Laserjet. It 
> seems to be doing that by sending TCP packets to port 1023. So I added 
> this rule to my firewall:
> 
> -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 1023 
> -j ACCEPT
> 
> But the packets still get rejected:

Have you loaded new rules into kernel?

# iptables-restore /etc/sysconfig/iptables

-- 
Aleksandar Milivojevic <amilivojevic at pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7




More information about the fedora-list mailing list