Find the answer to your Linux question:
Results 1 to 2 of 2
Have to add user defined ports I followed the below steps and added the port System->Administration->firewall-> enable->otherports->add->userdefined my query is that in which file, the user defined port get updated? ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    1

    Post Adding user Defined port (Firewall)

    Have to add user defined ports
    I followed the below steps and added the port

    System->Administration->firewall-> enable->otherports->add->userdefined

    my query is that in which file, the user defined port get updated?

    for example, all the existing ports will be available in /etc/protocols, like that the port which i have added will be upadted in which file?

    Anyone please help on this?

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Location
    Fairfax, Virginia, USA
    Posts
    94
    Hi Nitjend,
    With Fedora and Redhat, the saved data goes into:
    /etc/sysconfig/iptables
    for ipv4 and
    /etc/sysconfig/ip6tables
    for ipv6. Its probably different for Ubuntu.

    In these files is raw iptables commands which is what configures most of your firewall.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...