<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux Demilitarized Zone (DMZ) Ethernet Interface Requirements and Configuration</title> <atom:link href="http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: A.Jesin</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-57489</link> <dc:creator>A.Jesin</dc:creator> <pubDate>Fri, 22 Apr 2011 08:02:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-57489</guid> <description>Someone please help me I&#039;m struggling to get port forwarding working. I have 2 machines
system 1. with 2 ethernet ports
eth1 public (ip 192.168.56.2)
eth0 connected to system 2 (192.168.0.240)
system 2. with 1 ethernet port
eth0 connected to system1 (192.168.0.201) running a web server at 80
On system 1 I&#039;ve set the following rule
iptables -t nat -A PREROUTING -p tcp -i eth1 -d 192.168.56.2 --dport 80 -j DNAT --to-destination 192.168.0.201
but it doesn&#039;t work at all when I access http://192.168.56.2/
But http://192.168.0.201/ works indicating that port 80 is open on system 2</description> <content:encoded><![CDATA[<p>Someone please help me I&#8217;m struggling to get port forwarding working. I have 2 machines<br
/> system 1. with 2 ethernet ports<br
/> eth1 public (ip 192.168.56.2)<br
/> eth0 connected to system 2 (192.168.0.240)<br
/> system 2. with 1 ethernet port<br
/> eth0 connected to system1 (192.168.0.201) running a web server at 80</p><p>On system 1 I&#8217;ve set the following rule<br
/> iptables -t nat -A PREROUTING -p tcp -i eth1 -d 192.168.56.2 &#8211;dport 80 -j DNAT &#8211;to-destination 192.168.0.201<br
/> but it doesn&#8217;t work at all when I access <a
href="http://192.168.56.2/" rel="nofollow">http://192.168.56.2/</a><br
/> But <a
href="http://192.168.0.201/" rel="nofollow">http://192.168.0.201/</a> works indicating that port 80 is open on system 2</p> ]]></content:encoded> </item> <item><title>By: Akhim</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-56560</link> <dc:creator>Akhim</dc:creator> <pubDate>Wed, 23 Mar 2011 01:43:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-56560</guid> <description>great article Vivek Gite!</description> <content:encoded><![CDATA[<p>great article Vivek Gite!</p> ]]></content:encoded> </item> <item><title>By: André Ricardo</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-56146</link> <dc:creator>André Ricardo</dc:creator> <pubDate>Sat, 05 Mar 2011 15:54:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-56146</guid> <description>Great!</description> <content:encoded><![CDATA[<p>Great!</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-51237</link> <dc:creator>Mike</dc:creator> <pubDate>Wed, 01 Dec 2010 16:34:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-51237</guid> <description>Why would you want to include these rules:
iptables -A FORWARD -i eth0 -o eth2 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth2 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
Since eth2 is on DMZ wouldnt you want to completely separate it from the lan ?</description> <content:encoded><![CDATA[<p>Why would you want to include these rules:<br
/> iptables -A FORWARD -i eth0 -o eth2 -m state &#8211;state NEW,ESTABLISHED,RELATED -j ACCEPT<br
/> iptables -A FORWARD -i eth2 -o eth0 -m state &#8211;state ESTABLISHED,RELATED -j ACCEPT<br
/> Since eth2 is on DMZ wouldnt you want to completely separate it from the lan ?</p> ]]></content:encoded> </item> <item><title>By: sparc86</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-47249</link> <dc:creator>sparc86</dc:creator> <pubDate>Sat, 08 May 2010 21:07:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-47249</guid> <description>@Sachin,  could you show us your firewall script and your routing table ?</description> <content:encoded><![CDATA[<p>@Sachin,  could you show us your firewall script and your routing table ?</p> ]]></content:encoded> </item> <item><title>By: Sachin</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-46403</link> <dc:creator>Sachin</dc:creator> <pubDate>Sat, 13 Mar 2010 19:29:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-46403</guid> <description>My Network setup :-
I have 3 network card in CentOS firewall machine connected to ADSL router
1)Public ip --&gt; 59.181.x.x  which is nat on router to 192.168.1.1
2)  eth0 (External interface) which had IP ADDR 192.168.1.5 and Gateway 192.168.1.1
In ifcfg-eth0 I have entry GATEWAY=192.168.1.1
3) eth1 (Lan network) which has IP ADDR 192.168.2.1 and connected to switch1
In ifcfg-eth1 I have not mentioned any GAETWAY
4) eth2 (DMZ) which has IP ADDR 192.168.0.50 and connected to switch2
In ifcfg-eth2 I have not mentioned any GATEWAY
5) Webserver is connected in DMZ network and has IP ADDR 192.16.0.51 (other Centos machine)
My Problem :-
I am able to ssh from firewall machine to 192.168.0.51 and vice versa.ALso I am able to ping 192.168.1.5 from 192.168.0.51, BUT I am not able to ping 192.168.1.1 which is GATEWAY to 192.1681.5
I want my machine 192.168.0.51 to access outside network (internet) i.e it should ping 59.181.x.x
Can someone suggest solution for this problem?</description> <content:encoded><![CDATA[<p>My Network setup :-</p><p>I have 3 network card in CentOS firewall machine connected to ADSL router<br
/> 1)Public ip &#8211;&gt; 59.181.x.x  which is nat on router to 192.168.1.1<br
/> 2)  eth0 (External interface) which had IP ADDR 192.168.1.5 and Gateway 192.168.1.1<br
/> In ifcfg-eth0 I have entry GATEWAY=192.168.1.1<br
/> 3) eth1 (Lan network) which has IP ADDR 192.168.2.1 and connected to switch1<br
/> In ifcfg-eth1 I have not mentioned any GAETWAY<br
/> 4) eth2 (DMZ) which has IP ADDR 192.168.0.50 and connected to switch2<br
/> In ifcfg-eth2 I have not mentioned any GATEWAY<br
/> 5) Webserver is connected in DMZ network and has IP ADDR 192.16.0.51 (other Centos machine)</p><p>My Problem :-</p><p>I am able to ssh from firewall machine to 192.168.0.51 and vice versa.ALso I am able to ping 192.168.1.5 from 192.168.0.51, BUT I am not able to ping 192.168.1.1 which is GATEWAY to 192.1681.5<br
/> I want my machine 192.168.0.51 to access outside network (internet) i.e it should ping 59.181.x.x<br
/> Can someone suggest solution for this problem?</p> ]]></content:encoded> </item> <item><title>By: PG</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-42070</link> <dc:creator>PG</dc:creator> <pubDate>Tue, 16 Jun 2009 10:41:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-42070</guid> <description>hey,
in the earlier post, the LAN actually connects to one other NIC of LINUX Router.</description> <content:encoded><![CDATA[<p>hey,</p><p>in the earlier post, the LAN actually connects to one other NIC of LINUX Router.</p> ]]></content:encoded> </item> <item><title>By: PG</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-42069</link> <dc:creator>PG</dc:creator> <pubDate>Tue, 16 Jun 2009 10:32:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-42069</guid> <description>Does this iptables rules share internet to the local LAN users?
I want to implement like this:
INTERNET-----------------(pub ip)LINUX ROUTER(pvt ip) ------------PROXY/MAIL SVR
&#124;
LAN
how will be the iptable rules change if i want to direct the LAN internet access through the proxy server?
Thanks in advance.
Prakash
What will be the rules if i need to  direct</description> <content:encoded><![CDATA[<p>Does this iptables rules share internet to the local LAN users?</p><p>I want to implement like this:</p><p>INTERNET&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;(pub ip)LINUX ROUTER(pvt ip) &#8212;&#8212;&#8212;&#8212;PROXY/MAIL SVR<br
/> |<br
/> LAN<br
/> how will be the iptable rules change if i want to direct the LAN internet access through the proxy server?</p><p>Thanks in advance.</p><p>Prakash</p><p>What will be the rules if i need to  direct</p> ]]></content:encoded> </item> <item><title>By: yshri</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-41913</link> <dc:creator>yshri</dc:creator> <pubDate>Thu, 04 Jun 2009 08:34:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-41913</guid> <description>hey, great article. Very informative and helped me a lot. But in my case, i found it risky and don&#039;t want to use 3 interfaces on the same machine. Instead, I want to configure two firewall machines -- one sits in front of DMZ and other sits in front of Local LAN. Could you please explore in little in depth the configuration and setup required in this ? If you could give a diagram of it would be of great help to me. Thanks a lot.</description> <content:encoded><![CDATA[<p>hey, great article. Very informative and helped me a lot. But in my case, i found it risky and don&#8217;t want to use 3 interfaces on the same machine. Instead, I want to configure two firewall machines &#8212; one sits in front of DMZ and other sits in front of Local LAN. Could you please explore in little in depth the configuration and setup required in this ? If you could give a diagram of it would be of great help to me. Thanks a lot.</p> ]]></content:encoded> </item> <item><title>By: V.Balaviswanathan</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-41392</link> <dc:creator>V.Balaviswanathan</dc:creator> <pubDate>Wed, 29 Apr 2009 14:32:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-41392</guid> <description>How to use iptables on a Debian or Ubuntu systems? You the ufw utility as a firewall and so how can one use that to forward or deny the ip packets?
Please help me</description> <content:encoded><![CDATA[<p>How to use iptables on a Debian or Ubuntu systems? You the ufw utility as a firewall and so how can one use that to forward or deny the ip packets?</p><p>Please help me</p> ]]></content:encoded> </item> <item><title>By: satya</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40817</link> <dc:creator>satya</dc:creator> <pubDate>Thu, 19 Mar 2009 06:32:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40817</guid> <description>I am having  3 network card with
1..public Ip
2. 192.168.0.0----servers
3. 192.168.1.0----Lan
I tried setting as router to allow internet access on lan , it din&#039;t work, can u help me out</description> <content:encoded><![CDATA[<p>I am having  3 network card with<br
/> 1..public Ip<br
/> 2. 192.168.0.0&#8212;-servers<br
/> 3. 192.168.1.0&#8212;-Lan<br
/> I tried setting as router to allow internet access on lan , it din&#8217;t work, can u help me out</p> ]]></content:encoded> </item> <item><title>By: Nepguy</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40546</link> <dc:creator>Nepguy</dc:creator> <pubDate>Mon, 02 Mar 2009 09:48:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40546</guid> <description>Doesn&#039;t any NATing thing required here?</description> <content:encoded><![CDATA[<p>Doesn&#8217;t any NATing thing required here?</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40519</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 27 Feb 2009 11:09:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40519</guid> <description>Rules remains same and replace private IP with public one.</description> <content:encoded><![CDATA[<p>Rules remains same and replace private IP with public one.</p> ]]></content:encoded> </item> <item><title>By: Nepguy</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40517</link> <dc:creator>Nepguy</dc:creator> <pubDate>Fri, 27 Feb 2009 09:00:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40517</guid> <description>Hey,
Great Stuff !
But i have a little different case with me and wondering if you could help me.
I want to put a server ( Mail and proxy) in same machine and instead of assigning Private IP in the server in DMZ, I want to assign a public Ip.
So can you please help me out with the iptables and routing in the linux server having 3 Nics.
Thanks in advance.</description> <content:encoded><![CDATA[<p>Hey,<br
/> Great Stuff !</p><p>But i have a little different case with me and wondering if you could help me.<br
/> I want to put a server ( Mail and proxy) in same machine and instead of assigning Private IP in the server in DMZ, I want to assign a public Ip.</p><p>So can you please help me out with the iptables and routing in the linux server having 3 Nics.</p><p>Thanks in advance.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40516</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 27 Feb 2009 07:51:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40516</guid> <description>DMZ needs 3 network card.</description> <content:encoded><![CDATA[<p>DMZ needs 3 network card.</p> ]]></content:encoded> </item> <item><title>By: satya</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40515</link> <dc:creator>satya</dc:creator> <pubDate>Fri, 27 Feb 2009 07:32:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-40515</guid> <description>I tried with 2 network card to set as gateway server on Ubuntu 8.10 lts, its not working. Is thr any tips to troubleshoot</description> <content:encoded><![CDATA[<p>I tried with 2 network card to set as gateway server on Ubuntu 8.10 lts, its not working. Is thr any tips to troubleshoot</p> ]]></content:encoded> </item> <item><title>By: Gerald Sagoonick</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-39934</link> <dc:creator>Gerald Sagoonick</dc:creator> <pubDate>Mon, 19 Jan 2009 20:54:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-39934</guid> <description>Nice one</description> <content:encoded><![CDATA[<p>Nice one</p> ]]></content:encoded> </item> <item><title>By: umesh</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-38943</link> <dc:creator>umesh</dc:creator> <pubDate>Tue, 07 Oct 2008 18:09:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-38943</guid> <description>Hi,
I have 8 public Ips and want to configure FreeBSD as router and firewall and also want to use all 8 public IPs for my servers so pls can you suggest me how to do this. I am very confused....
Pls help....</description> <content:encoded><![CDATA[<p>Hi,<br
/> I have 8 public Ips and want to configure FreeBSD as router and firewall and also want to use all 8 public IPs for my servers so pls can you suggest me how to do this. I am very confused&#8230;.</p><p>Pls help&#8230;.</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-38499</link> <dc:creator>vivek</dc:creator> <pubDate>Tue, 05 Aug 2008 05:41:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-38499</guid> <description>mirza,
Yes, it was updated after George’s correction..</description> <content:encoded><![CDATA[<p>mirza,</p><p>Yes, it was updated after George’s correction..</p> ]]></content:encoded> </item> <item><title>By: mirza</title><link>http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-38497</link> <dc:creator>mirza</dc:creator> <pubDate>Tue, 05 Aug 2008 02:38:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/#comment-38497</guid> <description>after George&#039;s correction....
is the script already updated ?</description> <content:encoded><![CDATA[<p>after George&#8217;s correction&#8230;.<br
/> is the script already updated ?</p> ]]></content:encoded> </item> </channel> </rss>
