From owner-freebsd-questions@freebsd.org Mon Feb 26 12:58:31 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2BECF22431 for ; Mon, 26 Feb 2018 12:58:31 +0000 (UTC) (envelope-from srs0=zijh=fu=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4074574085 for ; Mon, 26 Feb 2018 12:58:31 +0000 (UTC) (envelope-from srs0=zijh=fu=sigsegv.be=kristof@codepro.be) Received: from [220.247.151.153] (unknown [IPv6:2001:df9:2:0:b428:eff:7029:317b]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 3C1FA27856; Mon, 26 Feb 2018 13:58:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1519649908; bh=y/ea2cdDli6OTk2GM5gSmTR+Ybnl3GWtpRmXWg181Ss=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=F3sVgXajtS4/H2lQqMfRGX6f6MaLtev3oCMG6MNnqWzZz9wG4zGBEDnS+b1fYYfHA bv2HoYR5uoMm9ZGQu/qo7dDUOxLbXnXFI7nIgJHgMHxjB0ACkmrkIjweVEofWvMSB1 44cTvhiku1ytasjpoVqs+b7/aZpc/nK1gHzaXoeM= From: "Kristof Provost" To: "Peter Ludikovsky" Cc: freebsd-questions@freebsd.org Subject: Re: UDP connections from NAT'ed jails Date: Mon, 26 Feb 2018 18:43:23 +0545 X-Mailer: MailMate (2.0BETAr6103) Message-ID: In-Reply-To: <8B3177FE-1FE5-4455-8F3C-CB5CE664B8C1@ludikovsky.name> References: <8B3177FE-1FE5-4455-8F3C-CB5CE664B8C1@ludikovsky.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2018 12:58:31 -0000 On 26 Feb 2018, at 18:11, Peter Ludikovsky wrote: > I'm experimenting with jails in preparation for moving my home server > from Linux to FreeBSD. I'm doing this from within a VirtualBox VM, > since > it's easier to revert to a previous state in case I break something. > > My biggest issue ATM is that my first jail can't resolve any host. TCP > and ICMP packets pass without issue, but DNS requests time out. I > checked with tcpdump on both the outside interface of the VM and of > the > host, neither show any DNS requests. Both hosts use 9.9.9.10 as the > DNS > server in /etc/resolv.conf. > … > Anyone got a pointer on what's going wrong here? > Hmm. That’s interesting. Can you tcpdump on the host to see what’s going on with your DNS packets? Also, I’d try to remove the ‘set skip on lo’ pf rule. Regards, Kristof