Hi all
i am using netfilter for ip masqurading
can any one tell me that how can i restrict one ip that it only use
masquradding for the ftp data transfer but not for any kind of service like
http msn type

here are my rules for the masqurading

/sbin/iptables -t nat -A POSTROUTING -p all -s 172.16.88.0/24 -d 0.0.0.0/0
-j MASQUERAD
/sbin/insmod
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_conntrack_ftp.o
/sbin/insmod /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_nat_ftp.o

waiting for early reply




Best Regards,
Imran Fazal Bhatti
System Administrator
J-tech (Pvt) Ltd


Reply via email to