REDIRECT question

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

 



Hello, netfilter users.

i want make transaparent proxy on localhost and want to disabe access after redirecting to port 3128 if destination address in net other then 193.108.240.0/22.
Does REDIRECT target send packet to INPUT chain and i should disable access in INPUT chain or should i disable access in '-t nat -A POSTROUTING' chain?


iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128


Thanks in advance. Your help is very, very appreciated.


Best regards,
Ruslan




[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