Change firewall settings centos 5

Discussion in 'Technical' started by statiic, Aug 25, 2010.

  1. statiic

    statiic New Member


    I would like to open een port in my firewall settings. However how can I do this through command line?
  2. Boogey

    Boogey New Member


    If you want to use iptables it is something like this. It depends on the setup and the flow off the traffic.

    This will allow some port into the host itself.
    iptables -A INPUT -i <INCOMING INTERFACE> --dport <PORT> -j ACCEPT

    But iptables is not so easy to configure. :eek:

    I suggest that you read this first.

    Or google "iptables" for some background information.:D

    Is it possible to give some more information about the setup and the flow off the traffic?

Share This Page