Hi everyone,

I'm trying to setup a host with two shorewall configs,
/etc/shorewall/active and /etc/shorewall/passive

When I call
  /sbin/shorewall check /etc/shorewall/active
I get
  /etc/shorewall/shorewall.conf does not exist!

The same for:
  /sbin/shorewall -vv restart /etc/shorewall/active
  /etc/shorewall/shorewall.conf does not exist!

When I do a
  export CONFIG_PATH=/etc/shorewall/active
before invoking  /sbin/shorewall check /etc/shorewall/active it works.
[EMAIL PROTECTED]
Did I make some kind of operating error? Has someone already used this,
tested this?


Next problem is how to include param subfiles relative to the
configuration directory.

I tried to put
  . $(find_file params-dns)
into my /etc/shorewall/active/params, which caused
  /etc/init.d/shorewall restart
  /etc/shorewall/active/params: 250: find_file: not found

Now I use something else that works:
  . $CONFIGDIR/params-dns

But is this the correct  method to do it? I suspect that I could run
into regression problems when updating, so which method is recommended?

Thanks in advance!




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to