Re: Still Need iptables Help

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

 



On Fri, 2003-08-08 at 11:29, Colburn wrote:
> > > Since you get an iptables syntax error, why don't you show
> > > us your /etc/sysconfig/iptables file?
> 
> #Firewall configuration written by lokkit
> #Manual configuration of this file is not recommended.
> #Note: ifup-post will punch the current nameservers through the
> #   firewall.  Such entries will *not* be listed here.
> *filter
> :INPUT ACCEPT [0:0]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [0:0]
> :RH-Lokkit-0-50-INPUT - [0:0]
> -A <LOOK HERE>INPUT-j</LOOK HERE> RH-Lokkit-0-50-INPUT

Shouldn't there be a space after INPUT and -j maybe this is why it is
complaining about bad rule. Or if this is a cut and paste  typo then I
will shut up and mind my own business and let the experts handle it.

> -A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
> -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT
> -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT
> -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 --syn -j REJECT
> -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 --syn -j REJECT
> -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT
> -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT
> COMMIT
> 
> 
> -- 
> Thanks!  dmc :-D
> ~~~~~~~~~~~~~~~~~~~~~~~~~
>         |
> Jesus  ===  Freedom
>         |
> ~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
Arindam Dey

The mind is not a vessel to be filled
but a fire to be kindled.

GPG FPR: B8E3 219E F129 F970 F4A7  BC50 9636 504A BEDF 5739


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux