From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eAv2JpbUQWMKKgAAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 21:50:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MOYSJ5bUQWOC9gAAauVa8A (envelope-from ) for ; Sat, 08 Oct 2022 21:50:46 +0200 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 62340461D4 for ; Sat, 8 Oct 2022 21:50:46 +0200 (CEST) Received: from localhost ([::1]:35200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohFqP-00028k-K2 for larch@yhetil.org; Sat, 08 Oct 2022 15:50:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohFqA-00028c-R0 for help-guix@gnu.org; Sat, 08 Oct 2022 15:50:30 -0400 Received: from knopi.disroot.org ([178.21.23.139]:34600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohFq8-0005En-4R for help-guix@gnu.org; Sat, 08 Oct 2022 15:50:30 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id F0DDA4C853; Sat, 8 Oct 2022 21:50:19 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eCzxPr3A_ITa; Sat, 8 Oct 2022 21:50:18 +0200 (CEST) Date: Sat, 8 Oct 2022 19:50:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1665258616; bh=Jbw8RhY3YTNBtOOD0HDYHJrn1O7jBLVPumiQZYpzSho=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=ls/8g80iki49z+yYKe2PjRAqz/xUbq/4ZcVowlNMgustlcuTxRrGXxPzsYcWR6Sbp f1Zs2zzCcYDLpnGTWdaNL7yVzhPf9dAnlIuw0vrcwhiVev5yFKE0WONXbmGOGydkBq JdxufDCRZXOKXfQIq+nZWbLAtoIljQTpDkuBm4wDNwU0GQeMLlH6cKkJu52RJvy7wC rRB18SzOVrrU9AAbUpIF/ZNaP52kWB5QDPqj/4mOHYVTD/9qFfN7NGa5zqpogbHTjB YlEMvCZb1fAou8psMur3i7fC6/RFie6mnEscg9R3wbqMWpPf0ugSu4RAHd08S44qB9 +u4cwktpFvY7Q== From: kiasoc5 To: help-guix@gnu.org Cc: solene@perso.pw Subject: Re: easy firewalling ? Message-ID: <20221008195012.35361822@aria> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665258646; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JL44jvHV4pqjJa3hnTC7meyGQMPazSemUI2XsPuXCtI=; b=CFkTKg36HYFhZgcQT7yXBsvzpoA0mPyKwb8qhe2GPCD9HuS9B7/k9UX52AeoA2h2b8X0rE 6ss+PjdxZMaDYjy7ETOn9W6gCinWhSzL2d+WwC6WiMKqe4U0DH9pVC0LRzRsEaPBFdOcvS vl9mWRhsSiDcp1Bk1pLDgX3e3t0pXp9hN+9z9dInMsDbzjDqTZS4vkAC9DNIB66jURBgww cukciSYWYrHdovut21RipAaPmDJOErkP42PhLSrH4bk9G8uK5Ol6HfUngi+ewx1QMHgSeC yehriwp2Q1Q8/HhKfLfSCKPzJrlKdwGfJKtCGy5MvJBDWw/WK0TI355FvdSR0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665258646; a=rsa-sha256; cv=none; b=DyYyPRCnDp4bA1lehhjKjJzU1yFfI5FeBWil4WVR6GHFAW+7oB+73BLTK3/xy6IIGT2kPQ X3XSR1nuRXIDKIeBRbaq7doz8gb4nE7lL/hgcjJASaYLpaNCjVByC32qWtE0NXQEbP+fqT aOs6G0szFQvp8xs2fUa/uzWj6cN4M7e7FIGJYqr5suCgfecr3m3tnNkpSHwYzMAnkzikC9 jOFaHmagjn55qCtQi9wweLCxj2uW7VUKxR8eEOZo15/gvgZWs7LOR4ATzAgTFQfl5pww9r 9bP5A1Cr2wN2JaDMhUPXCHBqn0b2lW6HytO50B7N4mh03fkVY6NNW1sIY5N7Xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b="ls/8g80i"; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.38 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b="ls/8g80i"; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 62340461D4 X-Spam-Score: -0.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: NbeTJx2uov93 On Fri, Oct 07 2022, 06:44:02 PM +0000 jbranso@dismail.de wrote: > October 4, 2022 3:58 AM, "jordi" wrote: > > > Hi, happy guix newbie here, > > > > usually i use ufw for easily managing firewalling, adding iptables > > rules etc... I see there is no ufw package available in guix. Aside > > from managing iptables manually, are there other easie alternatives > > i could use in guix ? > > I believe that you need to use iptables or nftables. > > I don't think guix supports anything easier. > > The arch wiki has an example config that may work for you: > > https://wiki.archlinux.org/title/Nftables > > > > > Thanks, thanks, thanks > > > > Fenix > There is a firewall service that allows opening and closing of ports in iptables: https://issues.guix.gnu.org/48975 It would be great for this to get into Guix, and if there was also an nftables version.