Redirect Rule for PPP users!!
Hi,
I want to redirect packet from the ppp interface. I made rules in the
auth-up script
/sbin/iptables -A INPUT -p udp -i $1 -d 0.0.0.0/0 --dport 53 -j
REDIRECT --to-ports 3128
/sbin/iptables -A INPUT -p tcp -i $1 -d 0.0.0.0/0 --dport 53 -j
REDIRECT --to-ports 3128
/sbin/iptables -A INPUT -p tcp -i $1 -d 0.0.0.0/0 --dport 80 -jREDIRECT --to-ports 3128
But they don't work. Here $1 is the interface through which the ppp users are logging.
regards
Krishna
Krishna Shekhar
Network Administrator
Wiplash Wireless