Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: iptables

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11

    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,798
    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
    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. $spacer_open
    $spacer_close
  5. #14
    iptables -I INPUT -s 192.168.0.0/24 -p tcp --dport 2000:4000 -j DROP

Posting Permissions

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