Hi,
kannan krishnamurthy wrote:
Dear all,From my understanding $i stands for entries in the /root/allowed-sites and
In my server i saw some script in
tkfunctions.(/etc/tkfunctions)i.e
Siteall()
{
for i in 'cat /root/allowed-sites';
do
iptables -A FORWARD -s 192.168.x.x/24 -d $i -p tcp
-dport 80 -j ACCEPT
done
}
In this script what is'$i',dport and sport stands for?
Thanks,
A.K. Kannan
YOUR'S
KANNAN.A.K.