Trouble with --dport

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

 



I am having trouble with the following lines:

-A INPUT -i eth0 -p tcp -s 1.1.1.1 --dport 1234 -j
ACCEPT
-A INPUT -i eth0 -p tcp -s 1.1.1.2 --dport 1233 -j
ACCEPT

I get an error message about --dport being an unknown
arg.  If I use either of the 2 lines without the other
they work fine.  It always errors on the second line. 
I can reverse the order and whichever is the second
line will be flagged.  I am using ver 1.2.5 which came
with redhat 7.3.

It looks to me like it is not loading the tcp
extensions for the second rule despite the "-p tcp"
being present.

Any help is appreciated.  Thanks.

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux