The exact error message is: iptables-restore v1.2.5: Unknown arg `--dport` --- Antony Stone <Antony@Soft-Solutions.co.uk> wrote: > 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 > __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/