Change firewall settings centos 5

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

  1. statiic

    statiic New Member

    Hi,

    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

    Hi,

    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.
    http://www.linuxhomenetworking.com/...HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables

    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