<?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 Re: ipfiltering does not work in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868240#M88933</link>
    <description>jut out of curiosity,how is it strange? all i want to do is setup a firewall w/o MASQ..seems simple enough.   i tried th ip MASQ (192.x.x.x) and it worked fine but interfeared w/ M$'s SMB proto . so all it need is a firewall.&lt;BR /&gt;</description>
    <pubDate>Fri, 20 Dec 2002 18:22:56 GMT</pubDate>
    <dc:creator>pollux0</dc:creator>
    <dc:date>2002-12-20T18:22:56Z</dc:date>
    <item>
      <title>ipfiltering does not work</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868236#M88929</link>
      <description>i cant get the ip filtering working(firewall, iptables linux 2.4x) &lt;BR /&gt;From internal client i can ping the internal NIC and external NIC on the firewall but nothing past that including the internet. &lt;BR /&gt;&lt;BR /&gt;eth0(to external) &lt;BR /&gt;ip=212.51.51.5 &lt;BR /&gt;nm=255.255.255.0 &lt;BR /&gt;nw=212.51.51.0 &lt;BR /&gt;bc=212.51.51.255 &lt;BR /&gt;gw=212.51.51.1(router ip address to internet) &lt;BR /&gt;&lt;BR /&gt;eth1(to internal) &lt;BR /&gt;ip=212.51.51.6 &lt;BR /&gt;nm=255.255.255.0 &lt;BR /&gt;nw=212.51.51.0 &lt;BR /&gt;bc=212.51.51.255 &lt;BR /&gt;&lt;BR /&gt;internal client &lt;BR /&gt;ip=212.51.51.7 &lt;BR /&gt;nm=255.255.255.0 &lt;BR /&gt;nw=212.51.51.0 &lt;BR /&gt;bc=212.51.51.255 &lt;BR /&gt;gw=212.51.51.6</description>
      <pubDate>Thu, 19 Dec 2002 21:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868236#M88929</guid>
      <dc:creator>pollux0</dc:creator>
      <dc:date>2002-12-19T21:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: ipfiltering does not work</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868237#M88930</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Your 3 NICs are on the same subnet. I'm afraid but it may not work because the filtering rules and particularly masquerading are based on IP subnet.&lt;BR /&gt;&lt;BR /&gt;If you can, put the 3 NICs on different subnets.&lt;BR /&gt;&lt;BR /&gt;If you cannot, explain with more details what you need, and post the rules that you have already configured.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Dec 2002 23:41:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868237#M88930</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-12-19T23:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: ipfiltering does not work</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868238#M88931</link>
      <description>i am new to linux networking and trying to setup a  firewall(router if needed) for a small office. I believe you have answered my question.. if i understand correctly the firewall cannot just "forward" the packets, but must also "route" the packets as well(or use ip Masq). I was able to set up IP Masq but it of course interfeared with M$'s SMB protocol so i am just going w/ firewall only(it seems the best route to take). in any case i have research but only came up w/ more questions.  I need answers to some basic questions about subnetting like you just answered. its a simple network really. i have attached a diagram and from what you are saying then is that i would need 3 subnets(internal, external, and DMZ).  I am also guessing by subnetting, i cannot keep the external subnet at 255.255.255.0 since i have to split it up. is this network in the diagram the most efficient? i have tried many combinations of iptable script but none that have worked so far.  All i really need now is something to get it working.  I can make it more secure later.&lt;BR /&gt;&lt;BR /&gt;sorry to bombard you w/ all the questions;thanks for any advice you can give...</description>
      <pubDate>Fri, 20 Dec 2002 03:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868238#M88931</guid>
      <dc:creator>gwu</dc:creator>
      <dc:date>2002-12-20T03:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: ipfiltering does not work</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868239#M88932</link>
      <description>&lt;A href="http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html" target="_blank"&gt;http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;is a good guide to setting up iptables.&lt;BR /&gt;&lt;BR /&gt;As far as networking goes you normally use Network Address Translation (NAT) on the router so that we only need a few registered IP address.  The DMZ addresses would then be assigned manually from one of the private IP ranges say 192.168.1.x mask 255.255.255.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The internal clients would probably prefer to use DHCP to get their addresses.  Assuming we have a small internal network we could let the Linux box play DHCP server and have it assign addresses in the 192.168.2.x mask 255.255.255.0 range.&lt;BR /&gt;&lt;BR /&gt;Your network design is a bit strange unless you are using a dialup.  See:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080094763.shtml" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080094763.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://new.linuxnow.com/docs/content/Firewall-HOWTO-html/Firewall-HOWTO-3.html" target="_blank"&gt;http://new.linuxnow.com/docs/content/Firewall-HOWTO-html/Firewall-HOWTO-3.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for a typical router firewall setup.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://new.linuxnow.com/docs.shtml" target="_blank"&gt;http://new.linuxnow.com/docs.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;has info on "howto" do just about anything in Linux.&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Dec 2002 18:05:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868239#M88932</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-12-20T18:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: ipfiltering does not work</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868240#M88933</link>
      <description>jut out of curiosity,how is it strange? all i want to do is setup a firewall w/o MASQ..seems simple enough.   i tried th ip MASQ (192.x.x.x) and it worked fine but interfeared w/ M$'s SMB proto . so all it need is a firewall.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Dec 2002 18:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868240#M88933</guid>
      <dc:creator>pollux0</dc:creator>
      <dc:date>2002-12-20T18:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: ipfiltering does not work</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868241#M88934</link>
      <description>in addition...lets say instead i want to setup something EXACTLY like the first figure on &lt;A href="http://new.linuxnow.com/docs/content/Firewall-HOWTO-html/Firewall-HOWTO-3.html" target="_blank"&gt;http://new.linuxnow.com/docs/content/Firewall-HOWTO-html/Firewall-HOWTO-3.html&lt;/A&gt; , w/o ip MASQ, do i need to subnet and do i need to change the routing table on the cisco router?</description>
      <pubDate>Fri, 20 Dec 2002 18:56:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868241#M88934</guid>
      <dc:creator>pollux0</dc:creator>
      <dc:date>2002-12-20T18:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: ipfiltering does not work</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868242#M88935</link>
      <description>Strange because you are using a third NIC when you don't need it.  Also makes it harder to get the firewall to work. &lt;BR /&gt;&lt;BR /&gt;NAT or IP MASQ is a security barrier so it is foolish to try and do without them if you are going to use a firewall. &lt;BR /&gt;&lt;BR /&gt;Anyway to implement the first drawing without IP MASQ would be very difficult unless the ISP gave you a lot of registered IP addresses.&lt;BR /&gt;&lt;BR /&gt;You would have to use IP unnumbered on the cisco and let it use its ethernet address on the link to the ISP.  Then you could use your registered IP addresses in the DMZ.  I suppose if we split the subnet in half we could use half of the registered addresses in the DMZ and the other half on the local LAN (other splits are possible depending upon how many ip addresses you have and how many hosts will be in the DMZ and the Local LAN).  You would have to make sure the router had the same subnet mask and give it a route to the second half of the addresses which pointed to the firewall.&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Dec 2002 21:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipfiltering-does-not-work/m-p/2868242#M88935</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-12-23T21:12:11Z</dc:date>
    </item>
  </channel>
</rss>

