Find the answer to your Linux question:
Results 1 to 2 of 2
I an getting the error "iptables: No chain/target/match by that name" while executing the following command. iptables -A INPUT -i eth0 -p tcp --dport 23 -j ACCEPT I can see ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    1

    iptables complaining about No chain/target/match by that name


    I an getting the error "iptables: No chain/target/match by that name" while executing the following command.
    iptables -A INPUT -i eth0 -p tcp --dport 23 -j ACCEPT

    I can see than INPUT chain is already added by dumping "iptables -L". If I execute "iptables -A INPUT -i eth0 -p tcp" it works but if I use --dport option its complaining. Can anyone please help me.

    Thanks

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    What do your rules look like?
    Are you doing stateful packet inspection?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •