miércoles, 27 de noviembre de 2013

Cómo configurar conjuntos de reglas en iptables

Iptables es el software de firewall de Linux por defecto utilizado en las distribuciones Linux. Si desea permitir o denegar el acceso a un puerto específico o dirección IP, se pueden agregar reglas de iptables a través de la línea de comandos que va a crear y aplicar las reglas de inmediato. Usted debe seguir un formato específico al añadir reglas para el programa iptables o no funcionará correctamente.

 

CONFIGURAR IPTABLES

 

Inicie sesión en su equipo Linux como usuario administrador (root).

 

Abra una ventana de terminal desde el menú del sistema.

 

Tipo "iptables-A INPUT-j ACCEPT-p tcp - destination-port 1234" para crear una nueva regla que permite el tráfico entrante en el puerto "1234" para acceder a la computadora.

 

Tipo "iptables-A OUTPUT-j DENY-p udp - destination-port 4567". "4567" para crear una nueva regla que niega el tráfico saliente de acceso a puerto

 

Tipo "iptables-D ENTRADA rule_number" para eliminar una regla del firewall con una regla número específico; "rule_number" en este ejemplo.

 

 

10 comentarios:

  1. Thaոk you for another woոderul post. Where
    else may judt anybody gɡet that type of information iin sսch a perfect apρroacҺ of writiոց?
    I've a presebtation net week, and I'm on the search for such info.



    silver cloud financial address

    ResponderEliminar
  2. Another advantage of the Google search engine is that it so good at putting the most relevant sites at the top of the results list.
    Pr would be the SEO Google's way of finding out exactly how
    essential your blog is actually. After optimization, leave your site as is until it has been reviewed.



    Also visit my blog; Rent a Serp Plugin [rentaserpreview.wordpress.com]

    ResponderEliminar
  3. Once the hormones settle down, the acne after menopause stage is likely to get controlled.
    Blackheads are not caused by dirt; rather there is a bacteria that normally lives on the skin and thrives on the sebum produced
    by oil glands. In this modern, consumer driven world,
    we have been trained to believe that we can have what we want, and we
    can have it now, but the old axioms still hold true.

    My website; exposed skin care

    ResponderEliminar
  4. I used to be suggested this blog through my cousin.
    I am no longer sure whether this submit is written by means of him as no one else recognise such certain about
    my problem. You are amazing! Thank you!

    Here is my page ... ljubezenski verzi za fante

    ResponderEliminar
  5. It is truly a nice and helpful piece of information. I am happy that
    you just shared this helpful info with us. Please stay us informed like this.
    Thank you for sharing.

    My site - Best Tooth Whitening

    ResponderEliminar
  6. Excellent goods from you, man. I've understand your stuff previous to and
    you're just too wonderful. I really like what you've acquired here, really like what
    you are saying and the way in which you say it.
    You make it enjoyable and you still care for to keep it wise.
    I cant wait to read far more from you. This is really a tremendous site.


    my blog; film semi terbaik

    ResponderEliminar
  7. The primary use of collection lawyers is to secure a judgment against the debtor.
    Debt collection lawyers are desired to meet the requirements of the Fair Debt Collection Practice Act - a federal law passed by the Congress to govern the actions that a debt collector takes in the process of collecting a debt. Generally speaking, the fees charged by debt collection lawyers are high, and vary depending on judgments. Usually, these lawyers charge fees on an hourly basis or one-third of the amount recovered, or sometimes both.
    Massachusetts debt collection

    ResponderEliminar
  8. If you are in amount overdue on your mortgage payments, your interest rate is about to adjust or your payments are simply becoming excessive, the primary thing you immediately need to do is “Take Action”. Massachusetts foreclosure law firm

    ResponderEliminar
  9. A very good article. Asked personnel at webmaster at Changi as well, do not take the article to receive... The Exceptional

    ResponderEliminar
  10. The successful Massachusetts personal injury lawyers at the Massachusetts Personal Injury Law Center are highly experienced, aggressive and actively seek the long-term well being of their clients.
    Automobile Accident Lawyer

    ResponderEliminar