- iptables -I INPUT 2 -m state --state NEW -m tcp -p tcp --dport 80 -s 177.44.7.14 -j ACCEPT
- iptables -I INPUT 2 -m state --state NEW -m udp -p udp --dport 5060 -s 177.44.7.14 -j ACCEPT
- iptables -I INPUT 2 -m state --state NEW -m udp -p udp --dport 10000:20000 -s 177.44.7.14 -j ACCEPT
- by range
- iptables -I INPUT 2 -m state --state NEW -m tcp -p tcp --dport 80 -s 186.150.197.0/24 -j ACCEPT
- iptables -I INPUT 2 -m state --state NEW -m udp -p udp --dport 5060 -s 186.150.197.0/24 -j ACCEPT
iptables -I INPUT 2 -m state --state NEW -m udp -p udp --dport 10000:20000 -s 186.150.197.0/24 -j ACCEPT
service iptables save
No hay comentarios:
Publicar un comentario