<?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 internet pbm in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/internet-pbm/m-p/3970720#M27563</link>
    <description>hi all,&lt;BR /&gt;&lt;BR /&gt;Im having two nic in my linux box .&lt;BR /&gt;i have connected a adsl modem to eth1 of my server.the ip for eth1 is 192.168.1.2, where the adsl modem has 192.168.1.1.My eth0 connects to my local network with ip 192.168.0.1.how do i allow my local network clients with 192.168.0.0 ips to access the internet</description>
    <pubDate>Wed, 28 Mar 2007 01:05:24 GMT</pubDate>
    <dc:creator>deepakinit</dc:creator>
    <dc:date>2007-03-28T01:05:24Z</dc:date>
    <item>
      <title>internet pbm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/internet-pbm/m-p/3970720#M27563</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;Im having two nic in my linux box .&lt;BR /&gt;i have connected a adsl modem to eth1 of my server.the ip for eth1 is 192.168.1.2, where the adsl modem has 192.168.1.1.My eth0 connects to my local network with ip 192.168.0.1.how do i allow my local network clients with 192.168.0.0 ips to access the internet</description>
      <pubDate>Wed, 28 Mar 2007 01:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/internet-pbm/m-p/3970720#M27563</guid>
      <dc:creator>deepakinit</dc:creator>
      <dc:date>2007-03-28T01:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: internet pbm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/internet-pbm/m-p/3970721#M27564</link>
      <description>First, you want to enable 'ip forwarding'.&lt;BR /&gt;&lt;BR /&gt;This can be done in a few ways depending on the distribution you have, but it all comes down to:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;BR /&gt;&lt;BR /&gt;Use 'sysctl' (and '/etc/sysctl.conf') as the preferred method of routinely setting this.&lt;BR /&gt;&lt;BR /&gt;Next is the firewall, in particular the 'FORWARD' section.  This needs to have some decent rules, or have an ACCEPT policy.  If you're using the firewall on your ADSL router, this is sort-of ok.  If not, then set up the firewall on your Linux box properly.&lt;BR /&gt;&lt;BR /&gt;Of course, you'll need to ensure that your linux box has a default route set through 192.168.1.1/eth1, so that traffic knows where to go after it's been allowed to forward.&lt;BR /&gt;&lt;BR /&gt;Then all you need is to make sure you have a valid, working DNS server, and you're all good.</description>
      <pubDate>Wed, 28 Mar 2007 02:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/internet-pbm/m-p/3970721#M27564</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-03-28T02:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: internet pbm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/internet-pbm/m-p/3970722#M27565</link>
      <description># echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;BR /&gt;# echo "net.ipv4.ip_forward=1" &amp;gt;&amp;gt; /etc/sysctl.conf&lt;BR /&gt;# iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE &lt;BR /&gt;# service iptables save</description>
      <pubDate>Wed, 28 Mar 2007 06:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/internet-pbm/m-p/3970722#M27565</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2007-03-28T06:15:20Z</dc:date>
    </item>
  </channel>
</rss>

