From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.eckelmann.de ([217.19.183.90]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1aoW5G-00063z-Vr for ptxdist@pengutronix.de; Fri, 08 Apr 2016 15:04:23 +0200 Received: from mail2.eckelmann.de (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id DD7E41BF8D34_707AC53B for ; Fri, 8 Apr 2016 13:04:19 +0000 (GMT) Received: from dag.eckelmann.group (unknown [10.0.192.71]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.eckelmann.group", Issuer "Eckelmann Root CA" (not verified)) by mail2.eckelmann.de (Sophos Email Appliance) with ESMTPS id 79D261BF6054_707AC53F for ; Fri, 8 Apr 2016 13:04:19 +0000 (GMT) From: Gavin Schenk Date: Fri, 8 Apr 2016 15:04:10 +0200 Message-ID: <1460120650-49173-1-git-send-email-g.schenk@eckelmann.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] Add persistant iptable-rules via systemd List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Gavin Schenk U3VwcG9ydHMgaXB2NCBhbmQgaXB2NiBhbmQgYm90aCBvcHRpb25zIGNhbiBiZSBzZWxlY3RlZCBp biBtZW51Y29uZmlnCmJ5IElQVEFCTEVTX0lQVjZfU1lTVEVNRF9VTklUIGFuZC9vciBJUFRBQkxF U19JUFY0X1NZU1RFTURfVU5JVAoKSWYgeW91IHNlbGVjdCBJUFRBQkxFU19JUFY0X1NZU1RFTURf VU5JVCBhIHN5c3RlbWQgdW5pdCBpcyBzdGFydGVkIG9uCm11bHRpdXNlci50Y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