Soporte & Consultoria

Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita

domingo, 8 de mayo de 2016

allowing access to specifc ip to spefic ports

  1. iptables -I INPUT 2 -m state --state NEW -m tcp -p tcp --dport 80  -s 177.44.7.14 -j ACCEPT
  2. iptables -I INPUT 2 -m state --state NEW -m udp -p udp --dport 5060  -s 177.44.7.14 -j ACCEPT
  3. iptables -I INPUT 2 -m state --state NEW -m udp -p udp --dport 10000:20000  -s 177.44.7.14 -j ACCEPT
  4.  by range
  5. iptables -I INPUT 2 -m state --state NEW -m tcp -p tcp --dport 80  -s 186.150.197.0/24 -j ACCEPT

  1.  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