Trouble with --dport

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

 



On Monday 21 October 2002 9:12 pm, blah blah wrote:

> 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.

What actual error message do you get ?

If you can type in the commands and then cut & paste what you type and what 
comes back that would be good.

> If I use either of the 2 lines without the other they work fine.

To me, that says there's no "unknown argument", otherwise it would still be 
unknown when you haven't typed the other command....

> It always errors on the second line.   I can reverse the order and
> whichever is the second line will be flagged.

Show us a cut & paste so we can see what you mean.

Antony.

-- 

How I want a drink, alcoholic of course, after the heavy chapters
involving quantum mechanics.

 - 3.14159265358979



[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