From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id pS5vMe6lyWDTawEAgWs5BA (envelope-from ) for ; Wed, 16 Jun 2021 09:19:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CFeDLO6lyWBSdAAAbx9fmQ (envelope-from ) for ; Wed, 16 Jun 2021 07:19:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8A5F318C3D for ; Wed, 16 Jun 2021 09:19:09 +0200 (CEST) Received: from localhost ([::1]:43324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltPpM-0003ze-Jv for larch@yhetil.org; Wed, 16 Jun 2021 03:19:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltPpG-0003zV-5n for guix-patches@gnu.org; Wed, 16 Jun 2021 03:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltPpF-0000SW-Uh for guix-patches@gnu.org; Wed, 16 Jun 2021 03:19:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltPpF-0006Zm-SK for guix-patches@gnu.org; Wed, 16 Jun 2021 03:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48753] iptables example update Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Jun 2021 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48753 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Eric Brown , 48753-done@debbugs.gnu.org Received: via spool by 48753-done@debbugs.gnu.org id=D48753.162382793625267 (code D ref 48753); Wed, 16 Jun 2021 07:19:01 +0000 Received: (at 48753-done) by debbugs.gnu.org; 16 Jun 2021 07:18:56 +0000 Received: from localhost ([127.0.0.1]:51430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltPpA-0006ZS-2M for submit@debbugs.gnu.org; Wed, 16 Jun 2021 03:18:56 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltPp6-0006ZH-BN for 48753-done@debbugs.gnu.org; Wed, 16 Jun 2021 03:18:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xEJczNoLb4o1au/nR2uGqEKGt2mQciEOcB6j6yDzvTc=; b=hbbxeM+Tpku25kPdBkntVOXtTK XpJKldhPvmN48H9Ao8AVtQsUo+MBLXAqz7WKW5KrUX9Z3787GlbrSP3KKn+cUpzAkD268g6VuFSR2 wSiffpc6DBKO7nFrz31Ek3JLl/E3m4OtI45eX+jJWf8FN2Njn7gJFt4OVJjRIIc51dlXyMO5Mxy7d 7huFLTquyRLL6Kq5eiAGplJdAFNKpXbRBDnS1J6wIEfUAMFUOXJTkYGGxsfNuG9wEvt+gU5NmH8uT 2+ZKSej42RjTx2ZCkT7pt1JIxuis/448QFsMNWSJbnIT1thcrobJyt+w3hi4aYbi92/nNnzwa/iqC 4j3XG3Iw==; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ltPp3-00008O-0m; Wed, 16 Jun 2021 12:48:49 +0530 From: Arun Isaac In-Reply-To: References: <86lf7wue10.fsf@hurd.ericcbrown.com> <87im2uwzty.fsf@systemreboot.net> Date: Wed, 16 Jun 2021 12:48:41 +0530 Message-ID: <87tulyp99q.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623827950; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=xEJczNoLb4o1au/nR2uGqEKGt2mQciEOcB6j6yDzvTc=; b=jFZbigciu3pBe9V9JhNOW3J+VeBcVE59cuwnAg74XtaQFQILyF/+vowaml5J2GwiMn/pRC PLEBJLMLbdLD3QXvSCRbjIKrX0Tbs+Tp6mSo7bV4iZ25dSqzr+1IPavK6YrNJu+/dq0Mmd rJohvdU872bA75fJNnt9bryYZTW6IjXIHy/wolnybIwcqn0l9N90Xpu7gaN/YN4/xJ+Y0f 3Xes70wFWThLVU81YSYgtVotHjQt+MpOz+ibFCnipK31kSN5AUDoKyI5vkDVgw7p/h0Jph Nok+RpPxmqOqUt9M5e1XINCs1MQdXyxHTIlUMnNOh3BZXD9QtvN1Jg0yrn+puQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623827950; a=rsa-sha256; cv=none; b=eGVMXFoxuRpTrfiPF7gWzjD0EYDk1TrnOJDFnf/GBk33wCRWo4UT4/DEObIoKDGzurkdQW MnaMkic4qBaMZZIIw7vDZE0mAGkXFa42xeBmC3AElBB45vcQDRZ5odMd5ieChupt02prnu u5QIToxW1NJ1uvBr62uOzu61LG49MPp2FTPpr927e+cyrrkR3tNPJuCRFmqhYtXT25NxZy PopuwkAD+N3rTWqQQeJw176XOyT746zRyNHJi7zzJKJ8D2v4J9VquUScnYWJv3FuBSuNtZ /T31xzvA/er/DIFtOJF9IszMGHO5x9/cpweJBWaLa5TzxYaTgKe8hguQsTtdHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=hbbxeM+T; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=hbbxeM+T; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8A5F318C3D X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: bV0bJitqiebp --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Eric, > Thank you for applying the patch, I think it=E2=80=99s much better. Truth= fully > i am relieved that you are an iptables newbie and so am I! :-P > I think there could still be some work done to this recommendation. > For example, when I use this updated iptables firewall selection, I am > unable to telnet into ports open on localhost. An example is that I > am a heavy user of VNC/SSH tunnel connections and it doesn=E2=80=99t let = me do > that, it blocks e.g. port 5902. (A similar naive rule in nftables > does let this work!!!) I'm not able to reproduce this. I built and started a container with an ssh server on port 5902. And, I was able to connect fine with telnet. Could you describe the precise steps, configuration, etc. to reproduce this issue? > But so many examples are given in iptables (esp. WireGuard stuff) and > so if you have no objections, I would like to take a further look and > maybe even ask around as to what the =E2=80=98ufw allow ssh=E2=80=99 beha= vior > vis-a-vis iptables best practices. Sure, please do! You don't need my permission for that! :-) Regards, Arun --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAmDJpdIbHGFydW5pc2Fh Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuz/bcH/Rf0rXREITX4puge94C1 eiWdXmqgWlPNjTsPRcGdzC1VWWFSaiGVz24l9pSQoylFjq2exptkzcuzO7jPnUK5 px9XoVIPUwbZ+N7v/YC3jgo2kxO30/1AdW0RcaaZqDmBtH3XVt6xYOTMpNXez6aK ycfIK2xk3LeGwByQA3K5Ap6Nll3MzGC9FEEntafNV7tY5iWupBX8Yjy88NxyN6lH tsiDmD2hv/BstspljJyi5edO/9Sd0R1FprGs/nwD/yMQx/yFsWIk2JWQ8hUeZhi4 LRLLCEY3fF4POz00FWlM4OCqUrF/UHkuJSIiOgXMVRzXgT7U0SNwX8Ap7kmSN9K6 FGY= =kM13 -----END PGP SIGNATURE----- --=-=-=--