Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have been reading though tutorials and stuff but i still dont understand how to use an iptable. Say for example I want to DROP all packets coming from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    13

    Using iptables


    Hi, I have been reading though tutorials and stuff but i still dont understand how to use an iptable.

    Say for example I want to DROP all packets coming from 192.1.2.42 what is the simpliest command I can use?

    Thanks!

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908

    Re: Using iptables

    I think that that would be..

    iptables -A INPUT -p all -s 192.1.2.42 -j DROP
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

Posting Permissions

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