From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5145C1381F3 for ; Sun, 13 Oct 2013 10:08:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72BC0E096C; Sun, 13 Oct 2013 10:08:19 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E852E08C2 for ; Sun, 13 Oct 2013 10:08:18 +0000 (UTC) Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) for gentoo-user@lists.gentoo.org with esmtp (envelope-from ) id <1VVIav-0018vD-06>; Sun, 13 Oct 2013 12:08:17 +0200 Received: from lounge.imp.fu-berlin.de ([160.45.42.83]) by relay1.zedat.fu-berlin.de (Exim 4.80.1) for gentoo-user@lists.gentoo.org with esmtp (envelope-from ) id <1VVIau-003rEM-No>; Sun, 13 Oct 2013 12:08:16 +0200 Received: from vaeth by lounge.imp.fu-berlin.de with local (internal_ws Exim 4.80) id 1VVIat-0001XR-Ml for ; Sun, 13 Oct 2013 12:08:15 +0200 To: gentoo-user@lists.gentoo.org From: Martin Vaeth Subject: [gentoo-user] scripted iptables-restore (was: Where to put advanced routing configuration?) In-Reply-To: References: <524DD388.9020507@fastmail.co.uk> <524F39F6.4040409@orlitzky.com> Date: Sun, 13 Oct 2013 12:08:15 +0200 User-Agent: slrn/pre1.0.0-26 (Linux) Message-Id: Sender: Martin Vaeth X-Originating-IP: 160.45.42.83 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: aacd619f-d251-48a2-b1c3-b9adfa480844 X-Archives-Hash: 16238838bf7cd3c4decce2d6eaeaaf94 >> 5. You can't script iptables-restore! > > Well, actually you can script iptables-restore. For those who are interested: net-firewall/firewall-mv from the mv overlay (available over layman) now provides a separate firewall-scripted.sh which can be conveniently used for such scripting.