Results 1 to 3 of 3

Thread: iptables issue !!

  1. #1
    Just burned his ISO alihadi's Avatar
    Join Date
    Aug 2008
    Posts
    8

    Exclamation iptables issue !!

    Hi guys
    i think there is a problem with iptables

    I am trying to filter my traffic and prevent receiving packets from a specific MAC address , I used the following rule :
    iptables -A INPUT -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    but iptables doesn`t seem to work
    i even tried to block all my traffic , flushed the chains and set the default policy to Drop but i still get internet !!!!!
    i even edited the rc.FireWall script but same thing happens

  2. #2
    Member
    Join Date
    Jun 2008
    Posts
    101

    Default

    Quote Originally Posted by alihadi View Post
    Hi guys
    i think there is a problem with iptables

    I am trying to filter my traffic and prevent receiving packets from a specific MAC address , I used the following rule :
    iptables -A INPUT -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    but iptables doesn`t seem to work
    i even tried to block all my traffic , flushed the chains and set the default policy to Drop but i still get internet !!!!!
    i even edited the rc.FireWall script but same thing happens
    It worked flawlessly on mine... Give a try to this firewall script and add your line: http://http://forums.remote-exploit....ad.php?t=16600

    This is how iptables -L looks like afterward:

    Chain INPUT (policy DROP)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    DROP all -- anywhere anywhere MAC 00:11:22:33:44:55

    Chain FORWARD (policy DROP)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere

  3. #3
    Just burned his ISO alihadi's Avatar
    Join Date
    Aug 2008
    Posts
    8

    Default

    I have edited the rc.FireWall script "/etc/rc/rc.FireWall"
    still the same results
    i set the default policies to drop
    but still connected to the internet

Posting Permissions

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