From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Vehent Subject: Re: Double stack IPv4&&IPv6 for a firewall Date: Tue, 28 Aug 2012 07:43:46 -0400 Message-ID: <302695cac71d0e303f2bf2a0069bacb9@linuxwall.info> References: <50375A06.6000808@cica.es> <1345818598.2977.265.camel@denise.theartistscloset.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=linuxwall.info; s=samchiel; t=1346154226; bh=E/lCgyZcHFqZ6xD3rnSs4USzwM17f9dpezPVkUp1um4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EmP4VfL1HKp8vYMfxSZ2kEdZBD3b4zxzJmWcdrhvX/UaNiDYfe4WBsWhV2nqo9R7b 6+BzPV9XkMgXaiyCP33KdW++woThmljaIIMWmztq5LjeT4EUkmkEaiqB6r46K1tR78 cN3XvFfcvRDChQ6ZlDgGFnhB9+H8KWLA/hASgwgE= In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Arturo Borrero Cc: netfilter@vger.kernel.org On 2012-08-28 04:55, Arturo Borrero wrote: > Maybe the point would be to generate with Bash a iptables-restore > ruleset to load to kernel, but not load the ruleset directly from > Bash... > > Correct. The syntax of iptables-restore is similar to the one of iptables, with the addition of the ordering that needs to be respected. Then, simply issue `iptables-restore < /path/to/ruleset`. - Julien