Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Exclamation block unwanted traffic to internet via IPTABLES - help

    eth0(lan_interface) IP:
    eth1(internet_Interface) IP:

    this machine is a gateway for the lan, running iptables and squid.

    the problem is that 90% of the lan is Windows XP, and we dont have a good Anti-virus installed on all of our windows XP machines.
    These Windows XP machines does Broadcast due to viruses and Trojans, and consumes almost 80% of our internet bandwidth.

    please share if there is/are any iptables rule(s) that can stop these unwanted traffic to internet.

    our users are allowed to connect almost every thing e.g msn/yahoo/skype messengers, webcam, outlook(smtp/pop).

    I am also attaching the iptables script we used on this gateway, for the kind consideration of you GURUS. I am not a IPTABLES master, I have download this attached iptables script from internet.

    Please help me.

    Attached Files Attached Files

  2. #2
    Firestarter is a somewhat easier to handle front-end for IPtables.

    On the XP machines install Avast free antivirus and Comodo-firewall, also free together this gives you fairly secure XP systems. Comodo has more free antimalware programms.

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    At the beginning of your input rules add this:

    iptables -A INPUT -d -j DROP
    This will block all Broadcasts

    You would be very wise to install virus software on your windows boxes.


    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open
  5. #4
    nice help Dear janvyl and lazydog for superb help.

Posting Permissions

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