1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Rep Power

    why this rule ( IPCHAINS ) is error???

    man ipchains and set up some rules for testing according to text.


    /sbin/ipchains -L
    /sbin/ipchains -F
    /sbin/ipchains -P forward REJECT


    MY_IP = ""


    /sbin/ipchains -A input -i eth0 -p tcp -d $MY_IP 80 -j DENY -l

    /sbin/ipchains -A input -p tcp -s 0/0 -d eth0 23 -j ACCEPT # accept any IP to port 23

    /sbin/ipchains -A input -p tcp -s 0/0 -d $EXT 23 -j DENY # deny any IP to port 23
    error msg: ry `/sbin/ipchains -h' or '/sbin/ipchains --help' for more information and I do this according to text for experiment.

    the last four stmts are all error while all other stmts are ok?

    I watch carefully myself and see no error, correct me please!!!!!!
    Last edited by pentium5; February 22nd, 2002 at 12:24 AM.

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Back in the real world.
    Rep Power
    I watch carefully myself and see no error
    you probably didnīt.
    1. ipchains -F needs to know the chain to be flushed.

    2. half of your message somehow got lost i cannot really understand what you did and what the error message was...

    3. maybe you are using 2.4 kernel and not loading the ipchains module? (just a guess...)

IMN logo majestic logo threadwatch logo seochat tools logo