From owner-freebsd-virtualization@freebsd.org Fri Aug 7 07:10:37 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 818129B52AE for ; Fri, 7 Aug 2015 07:10:37 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26418115 for ; Fri, 7 Aug 2015 07:10:37 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by wibhh20 with SMTP id hh20so53464358wib.0 for ; Fri, 07 Aug 2015 00:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Zvsk0euskcuBZ38Cxb4/TtFzbYmrePtIKNcaT7bJjL0=; b=AHkcHeEzPKf4MtmEHXSg89M3Gqa/nIygKoXaYkJtpIzdQjtXCD6duC4AQCdoR43ukF knKXwlWEjhDAiUqeeB6fu2HvXHU/g6aUESVEnEp8noQNlgVj5O7lOK5cPSzD0bvz7L7w Dq1/EcIrS3SiJ04gkPhsaWkUePk6j5F+J/Rz+xOZ9o1OyMxMRfMMxaL95j+lfeXtzbTc FkeaD+a9xEhIYAV5TUDKrb+SbwEy5tD90RjXMZr8QPtHJTW2XtESSDiIGZUa/AIfnkgi 7bdlB1eTwJy+7ZpAbP+LkmacUfA/1XlhscqH0oHM3GOq+wyhkCQ2iqcAMpcRfLLjdqLS jaJw== X-Received: by 10.194.250.69 with SMTP id za5mr11767321wjc.90.1438931435646; Fri, 07 Aug 2015 00:10:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.115.3 with HTTP; Fri, 7 Aug 2015 00:09:56 -0700 (PDT) In-Reply-To: References: From: "C. L. Martinez" Date: Fri, 7 Aug 2015 09:09:56 +0200 Message-ID: Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 07:10:37 -0000 On Fri, Aug 7, 2015 at 2:59 AM, Outback Dingo wrote: > > > On Fri, Aug 7, 2015 at 3:40 AM, C. L. Martinez wrote: >> >> Hi all, >> >> Is it needed to install some components from ports in a FreeBSD 10.2 >> RC2 guest under Windows 10 Hyper-V?? >> >> I am doing some tests and at this stage I have problems with my pf >> rules (they are working without problems in another FreeBSD 10.2 RC2 >> guest under KVM). >> > > might want to explain the issue a bit further, like what kind of problem.. > im running 10.2 under hyper-v and not seeing any issues > Sure, no problems. I am sure that my pf rules are ok, because I use them in several FreeBSD 10.x installs. Testing with a simple rule set like this: scrub log on $ExtIf all reassemble tcp fragment reassemble nat on $ExtIf from $IntIf:network to any -> ($ExtIf) pass all ICMP proto works without problems. But UDP and TCP connections, fails. I can see how traffic flows in this FreeBSD vm acting as a firewall (using tcpdump), but connections aren't returned. I have tried to disable tso, tx and rx checksum, etc without luck. This FreeBSD vm is created as Gen1 hyper-v guest. I don't know if it can Works as Gen2. But configuring another vm inside this Hyper-V using Debian, iptables works without problems for all protocols. Any idea?