REdirect all http request to squid except those going to the DMZ

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

 




Hello,

I tried this rule in my script

$IPTABLES -t nat -A PREROUTING -i $INTERNAL -d ! $DMZ_NET -p tcp --dport 80 -j
REDIRECT --to $squid_port

but it doesn't work, all my http request are redirected to the squidport, my
"-d $DMZ_NET" is not seen.

I just want that all my outgoing http requests are processed by squid except the
http requests going to the DMZ.

Can somebody help ?

Thks
F



[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