Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
Originally Posted by lefter [root@localhost root]# iptables -A input -s 127.0.0.1 -p icmp -j DENY use DROP.. not DENY...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined! vigour's Avatar
    Join Date
    Oct 2007
    Posts
    68

    Quote Originally Posted by lefter View Post
    [root@localhost root]# iptables -A input -s 127.0.0.1 -p icmp -j DENY
    use DROP.. not DENY

  2. #12
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Yeah a couple of things here.

    FIRST: Don't highjack other peoples posts. Start your own!
    SECOND: By doing what you are trying to do you are going to break your system!!

    Enough said.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #13
    Just Joined!
    Join Date
    Jul 2006
    Posts
    14
    Anyone have an answer for me? Again, i'm trying to block incoming connections to my ftp data ports (2000-4000) from certain ip ranges, but not incoming connections to my ftp server port itself (21)

  4. #14
    Just Joined! vigour's Avatar
    Join Date
    Oct 2007
    Posts
    68
    iptables -I INPUT -s 192.168.0.0/24 -p tcp --dport 2000:4000 -j DROP

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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