<?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: IP forwarding in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548241#M87186</link>
    <description>ip forwarding means the system will route packets between interfaces.&lt;BR /&gt;Machine acts as a router: datagrams received on one interface are forwarded to another one.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
    <pubDate>Fri, 20 May 2005 07:16:52 GMT</pubDate>
    <dc:creator>Sergejs Svitnevs</dc:creator>
    <dc:date>2005-05-20T07:16:52Z</dc:date>
    <item>
      <title>IP forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548238#M87183</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;       Please let me know more about ip forwarding.&lt;BR /&gt;&lt;BR /&gt;       Any help will be appriciated with points&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;Rajesh</description>
      <pubDate>Thu, 19 May 2005 14:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548238#M87183</guid>
      <dc:creator>KRS_1</dc:creator>
      <dc:date>2005-05-19T14:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: IP forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548239#M87184</link>
      <description>IP Forwarding, as in routing, or as in address translation?&lt;BR /&gt;&lt;BR /&gt;If for routing, then it's as simple as making sure that '/proc/sys/net/ipv4/ip_forward' contains a '1'.  This is usually done via the 'sysctl' interface (which is configured via '/etc/sysctl.conf').&lt;BR /&gt;&lt;BR /&gt;If you mean address translation, then I'll assume you're using a recent distribution and 'iptables'.&lt;BR /&gt;&lt;BR /&gt;What you need to look at is the NAT table (Network Address Tralsnation) and the DNAT and SNAT jump types.&lt;BR /&gt;&lt;BR /&gt;These rules live in the PREROUTING/OUTPUT and the POSTROUTING chains respectivly.&lt;BR /&gt;&lt;BR /&gt;The key to adding these is the '--to' flag, i.e.&lt;BR /&gt;&lt;BR /&gt;iptables -t nat -A PREROUTING -j DNAT -d 192.6.165.40 --to 192.6.165.119&lt;BR /&gt;&lt;BR /&gt;This would force every request to '&lt;A href="http://www.hp.com'" target="_blank"&gt;www.hp.com'&lt;/A&gt; to one of the two IP's which respond to that name (NOTE: I use this only as an example, I do not suggest you try this!).&lt;BR /&gt;&lt;BR /&gt;This can also modify the destination port, i.e.&lt;BR /&gt;&lt;BR /&gt;iptables -t nat -A PREROUTING -j DNAT -p tcp --dport 80 d 192.6.165.40 --to 192.6.165.119:81&lt;BR /&gt;&lt;BR /&gt;The SNAT rules work in the same manner.&lt;BR /&gt;&lt;BR /&gt;These are discussed in the man page (man iptables) and also in great length in the IP Tables howto's, in particular the Netfilter Hack HOWTO, &lt;A href="http://www.iptables.org/documentation/HOWTO//netfilter-hacking-HOWTO.txt" target="_blank"&gt;http://www.iptables.org/documentation/HOWTO//netfilter-hacking-HOWTO.txt&lt;/A&gt; .&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2005 18:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548239#M87184</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-19T18:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: IP forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548240#M87185</link>
      <description>A frew firewall threads:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=871034" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=871034&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624078" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624078&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 May 2005 23:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548240#M87185</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-19T23:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: IP forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548241#M87186</link>
      <description>ip forwarding means the system will route packets between interfaces.&lt;BR /&gt;Machine acts as a router: datagrams received on one interface are forwarded to another one.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Fri, 20 May 2005 07:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548241#M87186</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2005-05-20T07:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: IP forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548242#M87187</link>
      <description>&lt;A href="http://www.troubleshooters.com/linux/ip_fwd.htm" target="_blank"&gt;http://www.troubleshooters.com/linux/ip_fwd.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;chakri</description>
      <pubDate>Fri, 20 May 2005 12:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ip-forwarding/m-p/3548242#M87187</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2005-05-20T12:34:17Z</dc:date>
    </item>
  </channel>
</rss>

