Hi guys,<br><br>I have written /etc/firehol/firehol.conf according to the documentation which can be found on <a href="http://firehol.sourceforge.net/">http://firehol.sourceforge.net/</a> . And I am not keen to rewrite /usr/sbin/firehol Bash script to solve the problem. Maybe somebody could point where I am wrong?
<br><br>My configuration file contains the following directive:<br>-------------------------------------------------------------------------------<br>version 5<br>server_gnaxback_ports="tcp/9999 tcp/9990 tcp/3321"
<br>ipaddress="x.y.z.z" #Numerical IP<br>interface eth0 pub<br> server "gnaxback mysql ssh ping snmp" accept src "$ipaddress"<br>-------------------------------------------------------------------------------
<br><br>But I am getting the following error:<br>-----------------------<br><br>FireHOL: Saving your old firewall to a temporary file: OK<br>FireHOL: Processing file /etc/firehol/firehol.conf:/usr/sbin/firehol: line 4826: rules_gnaxback: command not found
<br><br>--------------------------------------------------------------------------------ERROR #: 1<br>WHAT : Running complex rules function rules_gnaxback() for server 'gnaxback'<br>WHY : There is no service 'gnaxback' defined.
<br>COMMAND: server gnaxback\ mysql\ ping\ snmp\ ssh accept<br>SOURCE : line 32 of /etc/firehol/firehol.conf<br><br><br>NOTICE: No changes made to your firewall.<br> FAILED<br><br><br>FireHOL: Restoring old firewall: OK<br>
----------------------------------------------------------------------------------<br>