From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KJm2DyqsaWEnCAEAgWs5BA (envelope-from ) for ; Fri, 15 Oct 2021 18:28:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UMk6CyqsaWFCSQAAbx9fmQ (envelope-from ) for ; Fri, 15 Oct 2021 16:28:26 +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 8DF0D126A3 for ; Fri, 15 Oct 2021 18:28:25 +0200 (CEST) Received: from localhost ([::1]:51524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbQ4G-0007yi-Me for larch@yhetil.org; Fri, 15 Oct 2021 12:28:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbQ2f-0006s3-If for guix-devel@gnu.org; Fri, 15 Oct 2021 12:26:45 -0400 Received: from vps-93-95-228-136.1984.is ([93.95.228.136]:35222 helo=csphy.pw) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbQ2b-0001vO-24 for guix-devel@gnu.org; Fri, 15 Oct 2021 12:26:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csphy.pw; s=mail; t=1634315195; h=from:from: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; bh=X3RKMlFpM1aoxSRz3oUKUMDZVa41NxW8siOtYoZYZns=; b=BvK1IdyLwh5pg2h3S2qrQeNM7nD21EVxlGkB4RIqDChgX+BTHMUK8mQM3qaUMTm0QwOE+H WSMlZi93PLaxRnh/5ikE/Xv9WU+3bfYMnCPy0xMtDcVbJMANl+IMNipJrBHqRGoKYf9SpZ ZxPavLBiv+Zv1EI8fKvwi8cTA258hrI= From: crodges To: Maxime Devos Subject: Re: Wireguard Date: Fri, 15 Oct 2021 09:26:26 -0700 Message-ID: <3365718.MQVpLqf3tS@sceadufaex> In-Reply-To: References: <2301909.g8HzRWBaYy@sceadufaex> <9671087.XobH8ZdYvX@sceadufaex> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: pass client-ip=93.95.228.136; envelope-from=crodges@csphy.pw; helo=csphy.pw X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, NO_FM_NAME_IP_HOSTN=0.001, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634315306; 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=X3RKMlFpM1aoxSRz3oUKUMDZVa41NxW8siOtYoZYZns=; b=iiZjdLnikGVC6a4spGWelut54hdFm2X8PVuh+aQgkDU+IEGeScxmX1ugrvuruU2eJhXehk Y/Thfn47ObcDgYFFWE8A7At/QEuLEFFOjhGOKcIo4TSD1ikMG4NvlxVxLAf5gaohG60fDb ow/2thvQaWBjmX9Eptz2kmp8xghXsGIBEk0LAO8eMMJ3yZbFaCzSkqkQSgHBwkqAiO0wDz 1s6Y3zF2dqFv4CPTJlurpF0s3xb5sxRuBxW+rizMCYJZDThXPH6gVqOO9Mhf3i1TgIGGyv QcwGDDkzU/xuTHx/gs9pfqnPgJIQkrGMLNJcrENO+rSCWxaGrtNk36SLXNIm4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634315306; a=rsa-sha256; cv=none; b=HCzRNOKHqE3b34QMnDLFzk+TwDZintQkcypg66fA0vyxngw2zVHKjzNlgeotDnufhyn49Q hjqmZfMG1yrM+LsJRmf+ea5AqKCrUtvXzFiY8T8zP1GfXPDQ71w6RtboeCer5ecsr3bXO1 mRse+fwANPMDNWrY1MJMhOFE90s14JBdSdNLrg7qqCIN+MfKTv5eZZGikv0zKQtQ25TQUC JkvIz14CVciR/wP5NGAz2OzZ5IzkNQzoN6PJuYYTxOH4tJpA1nKacTp4WzVJacC2dYGRfo eDPJJl4AEbQ9bYNezSF9VCWG81Ta/Nk/UGepMalqQQ7HyOFH4xnJuTW0l97sCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=csphy.pw header.s=mail header.b=BvK1IdyL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=csphy.pw (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: 1.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=csphy.pw header.s=mail header.b=BvK1IdyL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=csphy.pw (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 8DF0D126A3 X-Spam-Score: 1.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: PoRL/t9TNY0/ On Wednesday, October 6, 2021 11:35:02 A.M. PDT you wrote: > crodges schreef op wo 06-10-2021 om 09:28 [-0700]: > > [...] > > I was able to create and run the vm. How can I build a .iso image with my > > code changes to install in a vps? I tried to change the code, compile, > > run > > > > guix system image -t iso9660 gnu/system/install.scm > > Don't forget ./pre-inst-env: > > make && ./pre-inst-env guix system image -t iso9660 gnu/system/install.scm > > Also, the installer won't use your locally modified guix. IIUC, > it will use the 'guix' package, which is normally only used by a few > services like cuirass and guix-daemon, and for the initial installation. > > It shouldn't be necessary to reinstall Guix System, I'd recommend sending a > copy of the locally-modified guix repo to your VM, build it, and > reconfigure inside the VM (./pre-inst-env guix system reconfigure ...) > instead. > > However, it should also be possible to modify the guix used by the > installer, using the procedure (current-guix) and and the macro > modify-services, see gnu/tests/install.scm for an example. > > > then I grabbed the .iso from the /gnu/store > > > > but after installing it, it didn't contain my changes. Am I grabbing the > > wrong iso, if so, how should I do this? I may be confusing guix installed > > in my pc with the one I'm making changes. > > Greetins, > Maxime. Maxime, I'm getting closer. I'm reading up on how the kernel treats networks, guile and guix. After I solve this issue I'll definitely do a write up to pass on the acquired knowledge, it'll be good for someone that is starting with guix, like myself. That said, I have additional questions. First, in my wireguard configuration I need to call iptables. It was suggested to me that I should modify wireguard to accept iptables-service as a extension, and also modify iptables for it to be extended. Do you know any other way, or this looks like most appropriate? Also, there are several wg0.conf generated at /gnu/store (because of many generations). How do I know which one is the most recent one, so I can check if my configuration is parsing correctly from guile? I tried a simple ls -lt but everything is showing Jan 1, 1970. Thanks Maxime.