30 Mar 2008 uruk-save 20080330
uruk-save - save uruk rc configuration in iptables-save-style format
uruk-save [-6]
# uruk-save > /var/lib/uruk/iptables/activeor
# uruk-save -6 > /var/lib/uruk/ip6tables/active. This script is useful if you don't like the default behaviour of the uruk init script, and would like it to load the current uruk rc file instead of the current active file. Please note: generally you don't need to invoke this script manually: the init script which comes with uruk is suitable for most cases, it invokes uruk-save if needed.
Things will likely break if you do fancy stuff in an rc hook file. For instance, uruk-save saves the filter table only. If you define mangle or nat tables, things will break.
If your rc file is in verbose mode (i.e. it features set -x) or in no-act mode (i.e. it features iptables='echo iptables'), uruk-save fails.
iptables(8), iptables-save(8), iptables-restore(8), http://www.netfilter.org/
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.