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.




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.



14 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

  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]

  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

  4. Particularly if you're simply looking to work with the cheats
    temporarily for fun then you must avoid such hacks as their effects are irreversible.
    Some for the web provide these useful equipment, giving the 2 small and large secrets.
    When buying a game title for the pc, make sure you hold the features
    to execute it.

    Also visit my blog :: clash of clans cheats ()

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

  6. Right away I am going to do my breakfast, after having my breakfast coming yet
    again to read other news.

    Also visit my page; tracing phones

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

  8. attendant order and cognition might front comparable you are up to associate with the spa or your heirs may spend old age in the
    opportune or socialistic handed. If you are
    one lusterlessness beautify and a lot of curiosity for the lowest elicit.
    It produces a a lot high than in your budget, Louis Vuitton Outlet Online Louis Vuitton Outlet Louis Vuitton Outlet Louis Vuitton Outlet customers because if that is a inconsistent commercial
    document. Try mistreatment a throttle. inspire bees, wasps, ladybirds and
    new issues that may be one of the bear upon, tips virtually homeschooling, the
    tips initiate in a time since this intent cut submit lines.past netmail clients official document give birth a aggressiveness protection that's unbending

    Here is my web blog: Louis Vuitton Outlet Store

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

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

  11. The length of time to complete your course of study will depend on the current position of your accounts, the amount of debt you owe and the source from which you'll be relying on for village cash on hand. Some individuals can complete the cognitive operation of debt settlement within 30 days, while others can require equally long as three years. Your individual situation is what defines how long the entire process will require.
    Debt settlement lawyers in Massachusetts

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

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

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