<?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: cipe routing in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017886#M89430</link>
    <description>what about&lt;BR /&gt;iptables -t nat - A PREROUTING -i eth0 -j dnat --to-destination 10.0.0.2&lt;BR /&gt;&lt;BR /&gt;You could also set up squid on B, which would also allow you to monitor connections (if you use port 3128, then former command ecom 10.0.0.2:3128).&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Jul 2003 19:50:32 GMT</pubDate>
    <dc:creator>Jerome Henry</dc:creator>
    <dc:date>2003-07-08T19:50:32Z</dc:date>
    <item>
      <title>cipe routing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017883#M89427</link>
      <description>Hello. I have the folowing boxes. &lt;BR /&gt;&lt;BR /&gt;Machine A &lt;BR /&gt;eth0: $real_ip1&lt;BR /&gt;eth1: 192.168.0.1(local network)&lt;BR /&gt;cipcb0: 10.0.0.1 &lt;BR /&gt;    /    ||&lt;BR /&gt; internet&lt;BR /&gt;    ||&lt;BR /&gt;    \/ &lt;BR /&gt;Machine B&lt;BR /&gt;eth0: real_ip&lt;BR /&gt;cipcb0: 10.0.0.2&lt;BR /&gt;&lt;BR /&gt;I configured cipe for both boxes, and it works. Now i&lt;BR /&gt;want to make that all the traffic from machine A to&lt;BR /&gt;internet to pass through machine B, and then to go to&lt;BR /&gt;internet. &lt;BR /&gt;&lt;BR /&gt;Something like that :if i access &lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt; from &lt;BR /&gt;machine A to pass &lt;BR /&gt;&lt;BR /&gt;machineA-&amp;gt;internet-&amp;gt;machineB-&amp;gt;&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;&lt;BR /&gt;.Something like machine B, to be a virtual gateway of&lt;BR /&gt;machine A. Or at least all the trafic from the local&lt;BR /&gt;network (192.168.0.1/24) to have this route to&lt;BR /&gt;internet. well, the traceroute shoud be like that for&lt;BR /&gt;a box from the local network (supposse 192.168.0.3)&lt;BR /&gt;192.168.0.3-&amp;gt;192.168.0.1-&amp;gt;10.0.0.1-&amp;gt;10.0.0.2-&amp;gt;ip_real2-&amp;gt;&lt;BR /&gt;internet. Or something like that. &lt;BR /&gt;The configuration file otions.cipcb0 for both&lt;BR /&gt;macines is something like that&lt;BR /&gt;ptpaddr         10.0.0.2&lt;BR /&gt;ipaddr          10.0.0.1&lt;BR /&gt;me              ip_real1:2304&lt;BR /&gt;peer            ip_real2:2304&lt;BR /&gt;key             xxxxxxxxxxxxxxxxxxxxxxxxx&lt;BR /&gt;Any idea how can i do that? Thanks very much.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jul 2003 13:01:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017883#M89427</guid>
      <dc:creator>jon_carev</dc:creator>
      <dc:date>2003-07-08T13:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: cipe routing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017884#M89428</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;The easiest way should be to set up an Iptables rule on machine A and a proxy on machine B...&lt;BR /&gt;More on iptables :&lt;BR /&gt;&lt;A href="http://www.netfilter.org" target="_blank"&gt;http://www.netfilter.org&lt;/A&gt;&lt;BR /&gt;On squid :&lt;BR /&gt;&lt;A href="http://www.squid-cache.org" target="_blank"&gt;http://www.squid-cache.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Ask here if you want more details on configuration.&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Tue, 08 Jul 2003 13:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017884#M89428</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-07-08T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: cipe routing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017885#M89429</link>
      <description>Well, i want to route all the trafic through tunnel, not only http traffic. I want a routing solution, where my knowledge are missing here. I want the default gateway on machine A to be 10.0.0.2 and to add a iptables masquarade on machine B(&lt;BR /&gt;iptables -A POSTROUTING -t nat  -s  -o eth0 -j MASQUERADE).I tried to make the default route 10.0.0.2 on machine A , and i added a route to ip_real of machine B through the A gateway, but it doesn't work. Can anyone give me a detailed solution ? Thanks</description>
      <pubDate>Tue, 08 Jul 2003 18:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017885#M89429</guid>
      <dc:creator>jon_carev</dc:creator>
      <dc:date>2003-07-08T18:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: cipe routing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017886#M89430</link>
      <description>what about&lt;BR /&gt;iptables -t nat - A PREROUTING -i eth0 -j dnat --to-destination 10.0.0.2&lt;BR /&gt;&lt;BR /&gt;You could also set up squid on B, which would also allow you to monitor connections (if you use port 3128, then former command ecom 10.0.0.2:3128).&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jul 2003 19:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cipe-routing/m-p/3017886#M89430</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-07-08T19:50:32Z</dc:date>
    </item>
  </channel>
</rss>

