Forums

mihai
mihai
Offline
Resolved
0 votes
Hi all,

I don't remember the file i need to edit in order to define a new Service / Port as default in GUI (used for incoming / poert forwarding) rules.
Can someone help my old brain ?

Thx
Wednesday, July 09 2014, 08:43 AM
Share this post:
Responses (5)
  • Accepted Answer

    mihai
    mihai
    Offline
    Wednesday, July 09 2014, 01:50 PM - #Permalink
    Resolved
    0 votes
    Tim Burgess wrote:
    You can edit the standard list of services/ports by editing the array here
    /usr/clearos/apps/firewall/deploy/ports.php


    That's it ! THX
    B)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 09 2014, 12:28 PM - #Permalink
    Resolved
    0 votes
    You can edit the standard list of services/ports by editing the array here
    /usr/clearos/apps/firewall/deploy/ports.php
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 09 2014, 12:23 PM - #Permalink
    Resolved
    0 votes
    Sorry I don't know and the file is likely to have changed between 5.x and 6.x. You could try grep'ing one of the more obsure standard service names and look in /var/clearos and /usr/clearos and below.
    The reply is currently minimized Show
  • Accepted Answer

    mihai
    mihai
    Offline
    Wednesday, July 09 2014, 12:13 PM - #Permalink
    Resolved
    0 votes
    Hi Nick,

    I would like to define all my custome services and ports inside my netw.
    I made it work in the past on 5.x not i can't remember the file and path to.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 09 2014, 11:45 AM - #Permalink
    Resolved
    0 votes
    Why do you need to? Use the section underneath the standard services section to add your rule.
    The reply is currently minimized Show
Your Reply