Redirect

bof@bof.de.bbs bof@bof.de.bbs
31 Jul 2001 08:11:53 GMT


> So to use transparent proxy I configure netfilter:
> iptables -t nat -I PREROUTING 1 -i eth0 -p tcp -s $OTHER_FAKE --dport 80 -j
> REDIRECT --to-port 8080 , but
> it redirects to $REAL:8080.
> How I can redirect to $FAKE:8080

You recompile squid with netfilter support. See ./configure --help in the
squid sources.

regards
  Patrick


--
¡° Origin: ·s¼ÒÀÀ¥@¬É ¡» Mail: bof@bof.de (Patrick Schaaf)