<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic block unwanted traffic to internet via IPTABLES - help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099474#M83504</link>
    <description>eth0(lan_interface) IP: 192.168.0.1&lt;BR /&gt;eth1(internet_Interface) IP: 192.168.1.1&lt;BR /&gt;&lt;BR /&gt;this machine is a gateway for the lan, running iptables and squid.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;These Windows XP machines does Broadcast due to viruses and Trojans, and consumes almost 80% of our internet bandwidth.&lt;BR /&gt;&lt;BR /&gt;Is there any iptables rule that can stop these unwanted traffic to internet.&lt;BR /&gt;&lt;BR /&gt;our users are allowed to connect almost every thing e.g msn/yahoo/skype messengers, webcam, outlook(smtp/pop).&lt;BR /&gt;&lt;BR /&gt;I am also attaching the iptables script for the  kind consideration of you GURUS.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
    <pubDate>Tue, 25 Mar 2008 07:10:23 GMT</pubDate>
    <dc:creator>Maaz</dc:creator>
    <dc:date>2008-03-25T07:10:23Z</dc:date>
    <item>
      <title>block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099474#M83504</link>
      <description>eth0(lan_interface) IP: 192.168.0.1&lt;BR /&gt;eth1(internet_Interface) IP: 192.168.1.1&lt;BR /&gt;&lt;BR /&gt;this machine is a gateway for the lan, running iptables and squid.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;These Windows XP machines does Broadcast due to viruses and Trojans, and consumes almost 80% of our internet bandwidth.&lt;BR /&gt;&lt;BR /&gt;Is there any iptables rule that can stop these unwanted traffic to internet.&lt;BR /&gt;&lt;BR /&gt;our users are allowed to connect almost every thing e.g msn/yahoo/skype messengers, webcam, outlook(smtp/pop).&lt;BR /&gt;&lt;BR /&gt;I am also attaching the iptables script for the  kind consideration of you GURUS.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Tue, 25 Mar 2008 07:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099474#M83504</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-03-25T07:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099475#M83505</link>
      <description>iptables script attached</description>
      <pubDate>Tue, 25 Mar 2008 07:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099475#M83505</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-03-25T07:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099476#M83506</link>
      <description>Basically you should get rid of the viruses/trojans in the first place.Knowing that viruses exist in your network and ignoring it is just wrong.&lt;BR /&gt;&lt;BR /&gt;iptables is not an "application intelligent" firewall so you need to specify the port/IP you wish to block.&lt;BR /&gt;&lt;BR /&gt;Implement strict rules - for example everything is blocked except:&lt;BR /&gt;ports 25/110 from all machines &lt;BR /&gt;ports 80/443 from squid&lt;BR /&gt;&lt;BR /&gt;all proxy aware applications sould be configured to work via squid.</description>
      <pubDate>Tue, 25 Mar 2008 08:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099476#M83506</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2008-03-25T08:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099477#M83507</link>
      <description>Thanks A lot Alexander for your suggestions.&lt;BR /&gt;If you can please edit the attached iptables-script file that just allow smtp/pop/http traffic to internet. And also  allow  dns queries traffic to this gateway machine(as this machine is cache-only dns server too).&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 25 Mar 2008 09:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099477#M83507</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-03-25T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099478#M83508</link>
      <description>Shalom Maaz,&lt;BR /&gt;&lt;BR /&gt;There is very little iptables can do concerning virus transmission.&lt;BR /&gt;&lt;BR /&gt;All you should do is modify your script to block as many ports as possible.&lt;BR /&gt;&lt;BR /&gt;You might find an alternative to firewall scripting is firestarter.&lt;BR /&gt;&lt;BR /&gt;Though the product has not been updated in some time, it is very effective with a motif gui at shutting down ports.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.fs-security.com" target="_blank"&gt;http://www.fs-security.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you want a distribution of Linux that includes firewall, anti-virus and anti-spam thing about this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.clarkconnect.com/" target="_blank"&gt;http://www.clarkconnect.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 25 Mar 2008 09:34:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099478#M83508</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-03-25T09:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099479#M83509</link>
      <description>"These Windows XP machines does Broadcast due to viruses and Trojans, and consumes almost 80% of our internet bandwidth."&lt;BR /&gt;&lt;BR /&gt;This also means you are consuming a fair amount of your internal network resources as well.  You'd do well to install virus scanners at the very least on each workstation.</description>
      <pubDate>Tue, 25 Mar 2008 17:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099479#M83509</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2008-03-25T17:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099480#M83510</link>
      <description>clamav from &lt;A href="http://www.clamav.net" target="_blank"&gt;http://www.clamav.net&lt;/A&gt; on the server could be usefull and somethink like avast from &lt;A href="http://www.avast.com/" target="_blank"&gt;http://www.avast.com/&lt;/A&gt; on the Microsoft client, could probably also be usefull.&lt;BR /&gt;&lt;BR /&gt;Enjoy life.&lt;BR /&gt;&lt;BR /&gt;Jean-Pierre Huc</description>
      <pubDate>Wed, 26 Mar 2008 08:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099480#M83510</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2008-03-26T08:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099481#M83511</link>
      <description>Nice peoples and Nice replies... Thanks EveryOne ;).&lt;BR /&gt;&lt;BR /&gt;Our Directors are ready to buy the Symantec Norton Antivirus license for all M$ machines.&lt;BR /&gt;&lt;BR /&gt;ok Gurus, if I add the following rule on top of all other rules then ?&lt;BR /&gt;iptables -A INPUT -d 255.255.255.255 -j DROP&lt;BR /&gt;&lt;BR /&gt;I mean does the above rule will work in my case ?&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Mar 2008 10:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099481#M83511</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-03-27T10:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099482#M83512</link>
      <description>as mentioned before &lt;A href="http://www.fs-security.com/" target="_blank"&gt;http://www.fs-security.com/&lt;/A&gt; Firestarter is a good simple firewall with graphical frontend you can tell to drop anything exept the rules you set for openening some ports. you will have a log that shows anything that is blocked by the firewall (rightclick them to add them to the firewall rules) so it's easy to open ports for services you need.&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;try the attached script. it is a good starting point for a self skripted firewall. you will find helpfull howto's at &lt;A href="http://www.netfilter.org/documentation/index.html#documentation-howto" target="_blank"&gt;http://www.netfilter.org/documentation/index.html#documentation-howto&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;copy the attachment to /etc/rc.d/init.d and add it with chkconfig to your system but be aware that this script will block your system because it is configured for my lan and it's only a simplified version so you have to add your rules. there are some small exampels for blocking some ip's from i-net (bad servers trying to harm your system), masquerade lan clients to connect to internet, open ports for local server and dnat rules to forward some special ports to one lan client. it also includes a panic option for shuting down any traffic on the server when you think you got hacked.&lt;BR /&gt;&lt;BR /&gt;but a firewall don't protect you from viruses . and rtfm ;) &lt;A href="http://www.netfilter.org/documentation/" target="_blank"&gt;http://www.netfilter.org/documentation/&lt;/A&gt;</description>
      <pubDate>Wed, 16 Apr 2008 21:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099482#M83512</guid>
      <dc:creator>Johannes Krackowizer</dc:creator>
      <dc:date>2008-04-16T21:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: block unwanted traffic to internet via IPTABLES - help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099483#M83513</link>
      <description>Thanks</description>
      <pubDate>Fri, 18 Apr 2008 03:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/block-unwanted-traffic-to-internet-via-iptables-help/m-p/5099483#M83513</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-04-18T03:43:00Z</dc:date>
    </item>
  </channel>
</rss>

