<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Jan.<br>
I was able to apply the iptables command after that.<br>
<br>
Am trying to use tproxy with squid. But it seems that whenever I try to
run both tproxy and squid together, the traffic from my router is not
being forwarded to the cache server.<br>
But after rebooting the system and not applying tproxy everything works
well.<br>
<br>
Regards<br>
Sunil<br>
<br>
Sunil K.P. wrote:
<blockquote cite="mid44D76F4D.40500@hyperia.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Hi,<br>
  <br>
Had configured and patched the kernel as per the instructions given in
the INSTALL file.<br>
The system is not working in bridge mode, so cannot use br0.<br>
  <br>
Going by the instructions from other users this was the only only
iptables command to be used.<br>
  <br>
Regards<br>
Sunil<br>
  <br>
Jan Engelhardt wrote:
  <blockquote
 cite="midPine.LNX.4.61.0608071445390.30697@yvahk01.tjqt.qr" type="cite">
    <blockquote type="cite">
      <pre wrap="">But when I try to put the redirection it gives the following error
[root@cache netfilter]# iptables -t tproxy -A PREROUTING -i eth0 -p tcp 
    </pre>
    </blockquote>
    <pre wrap=""><!---->
I am not sure this will work when eth0 has no IP address. In fact, you 
probably want

-i br0 -m physdev --physdev-in eth0.8

or --physdev-in eth0.

  </pre>
    <blockquote type="cite">
      <pre wrap="">-m tcp
    </pre>
    </blockquote>
    <pre wrap=""><!---->
You do not need -m tcp.

  </pre>
    <blockquote type="cite">
      <pre wrap="">--dport 80 -j TPROXY --on-port 80
iptables v1.3.5: Unknown arg `--on-port'
    </pre>
    </blockquote>
    <pre wrap=""><!---->
Works for me. You probably do not have TPROXY support in iptables.


Jan Engelhardt
  </pre>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
tproxy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tproxy@lists.balabit.hu">tproxy@lists.balabit.hu</a>
<a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/tproxy">https://lists.balabit.hu/mailman/listinfo/tproxy</a>
  </pre>
</blockquote>
</body>
</html>