agosto 28th, 2014
normalizando caracteres de acentuação e-mail
Posted by
Felipe Olivaes in
PHP
[sourcecode language=”php”]
[/sourcecode]
[sourcecode language=”php”]
[/sourcecode]
bloqueioInternet () {
echo "- bloqueio INTERNACIONAL para $1"
/sbin/iptables -I FORWARD -d $1 -j DROP
/sbin/iptables -I FORWARD -s 177.0.0.0/8 -d $1 -j ACCEPT
/sbin/iptables -I FORWARD -s 186.0.0.0/8 -d $1 -j ACCEPT
/sbin/iptables -I FORWARD -s 187.0.0.0/8 -d $1 -j ACCEPT
/sbin/iptables -I FORWARD -s 189.0.0.0/8 -d $1 -j ACCEPT
/sbin/iptables -I FORWARD -s 200.0.0.0/8 -d $1 -j ACCEPT
/sbin/iptables -I FORWARD -s 201.0.0.0/8 -d $1 -j ACCEPT
}
Group by
=) com aspira e caramujo