<?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: redirect the whole HTTP traffic using proxy in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872678#M84309</link>
    <description>some distros do not reference ip_forwarding in sysctl,.. use cat cat /proc/sys/net/ipv4/ip_forward to get your current status,.. though if that is indeed a gateway, then it should be turned on&lt;BR /&gt;&lt;BR /&gt;next you can do some debugging with logging packets:&lt;BR /&gt;&lt;BR /&gt;iptables -t nat -A PREROUTING -p tcp --dport 80 -j LOG --log-prefix " (INC_HTTP)"&lt;BR /&gt;... DNAT line here ...&lt;BR /&gt;iptables -t nat -A POSTROUTING -p tcp --dport 80 -j LOG --log-prefix " (OUT_HTTP)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Oct 2006 16:36:59 GMT</pubDate>
    <dc:creator>Michal Toth</dc:creator>
    <dc:date>2006-10-04T16:36:59Z</dc:date>
    <item>
      <title>redirect the whole HTTP traffic using proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872675#M84306</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;howto redirect the whole HTTP traffic using proxy ?&lt;BR /&gt;&lt;BR /&gt;I have tried using iptables:&lt;BR /&gt;&lt;BR /&gt;iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.0.5:3128&lt;BR /&gt;&lt;BR /&gt;but it doesn't work !&lt;BR /&gt;&lt;BR /&gt;this machine is a vpn gateway and should redirect the whole HTTP traffic to the proxy.&lt;BR /&gt;&lt;BR /&gt;p.s&lt;BR /&gt;I don't have a transparent proxy.&lt;BR /&gt;&lt;BR /&gt;greetings&lt;BR /&gt;chris</description>
      <pubDate>Sat, 30 Sep 2006 10:29:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872675#M84306</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2006-09-30T10:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: redirect the whole HTTP traffic using proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872676#M84307</link>
      <description>I did it once with reverse proxy.&lt;BR /&gt;All http that comes to proxy is redirected to internal web server- below is the link to a guide:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.visolve.com/squid/whitepapers/reverseproxy.php" target="_blank"&gt;http://www.visolve.com/squid/whitepapers/reverseproxy.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Sep 2006 12:29:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872676#M84307</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-09-30T12:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: redirect the whole HTTP traffic using proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872677#M84308</link>
      <description>Shalom Chris,&lt;BR /&gt;&lt;BR /&gt;Often this mistake is made.&lt;BR /&gt;&lt;BR /&gt;Before forwarding traffic, which is what your statement does, check the file /etc/sysctl.conf&lt;BR /&gt;&lt;BR /&gt;It must have ipv4 forwarding set to yes.&lt;BR /&gt;&lt;BR /&gt;Then try again, that alone may be the issue.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 30 Sep 2006 14:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872677#M84308</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-09-30T14:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: redirect the whole HTTP traffic using proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872678#M84309</link>
      <description>some distros do not reference ip_forwarding in sysctl,.. use cat cat /proc/sys/net/ipv4/ip_forward to get your current status,.. though if that is indeed a gateway, then it should be turned on&lt;BR /&gt;&lt;BR /&gt;next you can do some debugging with logging packets:&lt;BR /&gt;&lt;BR /&gt;iptables -t nat -A PREROUTING -p tcp --dport 80 -j LOG --log-prefix " (INC_HTTP)"&lt;BR /&gt;... DNAT line here ...&lt;BR /&gt;iptables -t nat -A POSTROUTING -p tcp --dport 80 -j LOG --log-prefix " (OUT_HTTP)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Oct 2006 16:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redirect-the-whole-http-traffic-using-proxy/m-p/3872678#M84309</guid>
      <dc:creator>Michal Toth</dc:creator>
      <dc:date>2006-10-04T16:36:59Z</dc:date>
    </item>
  </channel>
</rss>

