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 1ao4Iq-0005vr-WE for ptxdist@pengutronix.de; Thu, 07 Apr 2016 09:24:33 +0200 Received: from mail2.eckelmann.de (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 13DCF1BF8D19_7060B30B for ; Thu, 7 Apr 2016 07:24:32 +0000 (GMT) Received: from dag.eckelmann.group (ex-dag02.eckelmann.group [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 A79081BF6003_7060B2FF for ; Thu, 7 Apr 2016 07:24:31 +0000 (GMT) From: Gavin Schenk Date: Thu, 7 Apr 2016 09:24:26 +0200 Message-ID: <1460013866-29763-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 biBtZW51Y29uZmlnIElQVEFCTEVTX0lQVjZfU1lTVEVNRF9VTklUIGFuZCBJUFRBQkxFU19JUFY0 X1NZU1RFTURfVU5JVAoKSWYgeW91IHNlbGVjdCBJUFRBQkxFU19JUFY0X1NZU1RFTURfVU5JVCBh IHN5c3RlbWQgdW5pdCBpcyBzdGFydGVkIG9uIG11bHRpd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