Search squid archive

Re: Please give a solution - Tproxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Monzur Md.. Alam <monzur@xxxxxxxxxxxx>
> I have gone the the procedure as described at the following URL
> URL: 
> http://wiki.squid-cache.org/Features/Tproxy4#head-f17bb712222beeb0aa083f02237aad6fdfaa1be2
> 
> I have successfully complied kernel:2.6.28.1 and iptables:1.4.3 with 
> tproxy:2.6.25-20080519-165031-1211208631.tar.bz2
> 
> Now when I run following ipables commands, all the commands
> running without any problem except....
> 
> iptables 1.4.3 Configuration
> iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
> 
> and error messege shown:
> 
> [root@hpproxy ~]# iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
> iptables: No chain/target/match by that name. Run `dmesg' for more information.
> [root@hpproxy ~]#

On the page you link to, there is "Setup a chain DIVERT to mark packets":

  iptables -t mangle -N DIVERT
  iptables -t mangle -A DIVERT -j MARK --set-mark 1
  iptables -t mangle -A DIVERT -j ACCEPT

Did you run these lines before?

JD


      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux