Transparent web proxy

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

 



Hello,

I am trying to set up transparent web proxy server, but from the examples I have found on the web, I can not make it work.

I am trying:

iptables -A FORWARD -i vnet0 -o tun0 -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -t nat -A PREROUTING -i venet0 -p tcp --dport 80 -j REDIRECT --to 8888

Where tun0 is the VPN port, vnet0 (its actually vnet0:0) is the network interface.

Squid is listening on localhost:8888

I get an error message when I run these 2 lines:

# iptables -t nat -A PREROUTING -i venet0 -p tcp --dport 80 -j REDIRECT --to 8888
iptables: No chain/target/match by that name


Help!!!

Thanks

Ian Moyce


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux