From nobody Mon Jun 30 06:02:01 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bVwXp6sxSz602Gs for ; Mon, 30 Jun 2025 06:02:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bVwXp5pknz4H0v for ; Mon, 30 Jun 2025 06:02:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751263322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1gYZ4PfVcJWACnWUT+3WOD0awUffPNri1z6gcn0H9+c=; b=DuWAP1B9DfP97xsV2Zu9i5komNRiObQr4iRVXkFv1mywP9SfHt4eedeR8UZN06i+EGdJzg sqkJBna6D56q5GnFthdS9BfYQbkfrr6z9Jw/2yl7HvcdtW+JCQ/gOet/ZKqgKNaeiqy3a9 bjhyhmq7JhGJBQMAqNmn5gQ0fCPlbdpXi/IwQoWPvpDgeHf1kC1Hv68f6sycRUx80Db/8t rblfIm9QXTNSHOohuJMMq954ggR9SZt/JpGUNwnaHmxIHhbd5Jk4/A7ZI37DoIXXymp5DQ NpXWyVK3bCvtw9Sz+HrKugWWa+RF7q7ToqYYjAYiR5YhvNf4IY2LKjCLRXud5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751263322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1gYZ4PfVcJWACnWUT+3WOD0awUffPNri1z6gcn0H9+c=; b=MgkxY8maoG6ITfkL/dQ61Dq4I+pXyUJeYYyqnu/nllZbV5L4I0nY697NxlOMaKbnG2PsS2 bJREY8tFb6JPV55RWtdLvFjh3qMmWILp6yhceifQrDNZzp5VItW0lVbjsejCpBlQSDvysJ xyD+Mjne6YyUEhn783qUlSjWIjXI2MGfGPz8XYGTpfxS1PqRl7DYv9ndTtquDStxqoqpT9 EDK12ornVAxRyXieLyEC/Qu3fuZyuvvZjbUHarvUd8xX9eOggYysLSyggIGOatszgibXiL UEu83xBcFSaw+rFRz3UoTCfwFZ3rnbPJe24b8l7Al0nDabgwHS9WIhl62BwpRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751263322; a=rsa-sha256; cv=none; b=A9lF9Lrown6Kb67XLbGC7GpOJNDepOxGvPMV88NHeVEmmDh9xnqEE7WvoQybFjueNPEKkD GkB15ZpSxOBLRekZtcX+b6P1BYojWMHUc8c7R33WaAKZh9IYJgKvb8GWz3P4GbVkFsL53G xfZQypWXktZs0plwOWLbQI4h09jGVdTkvaFYUfQrW3UPf24Xn2Rcwz2JNtxJuD8tP4N1+K 2DopLSlLSt1VZ0oUYhzjZ6IYGrihhe7SlZJHFJXOLPq72C6ZKUYSj9eogQK5wcIS393Vr3 NzvGhxteXjlW5oDLo29RZmAT1jWdEthLI/SIOOCLyApwM/gmYLae+ca0+qoDvw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bVwXp4mLdzsTv for ; Mon, 30 Jun 2025 06:02:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 55U6229g003704 for ; Mon, 30 Jun 2025 06:02:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 55U6222e003696 for net@FreeBSD.org; Mon, 30 Jun 2025 06:02:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 287653] if_ovpn can't be pre-configured with ifconfig; can't be assigned to fib Date: Mon, 30 Jun 2025 06:02:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: paige@paige.bio X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287653 --- Comment #2 from Paige Thompson --- (In reply to Marek Zarychta from comment #1) Hey-- I actually moved on from this and settled on wireguard for now but for what this is worth i actually was hoping to get dco working between FreeBSD mach= ines but I couldn't figure out how to get it to work even with both machines bei= ng FreeBSD. disable-dco would be fine but there's seldom ever a case where I w= ant to settle for less when in theory I could have better. Honestly I wanted to= use IPSEC with racoon but the problem I seemed to be having with that was NAT a= nd using NAT-T the correct way (or there's something else wrong.There are issu= es with that depending on whether you use transport or tunnel; and depending on fragmentation settings.=20 I'll probably revisit this at some point but I just used wireguard it works even though I don't really care for it that much--it works, though part of = the configuration I'm doing with rc.local:=20 rc.conf takes care of standing up the interface and configuring it wg0: flags=3D10080c1 metric 0 mtu 1420 options=3D80000 inet 192.0.2.1 netmask 0xfffffffe inet6 fcff:56::192:0:2:1 prefixlen 64 groups: wg fib: 56 tunnelfib: 255 nd6 options=3D101 rc.local associates the keys and remotes with the interface:=20 wg setconf wg0 /usr/local/etc/wireguard/wg0.conf you can close this if you want but in more than a decade of using OpenVPN I= 've never felt so defeated as I have by ovpn(4) moreover I don't think it's cap= able in it's current state of functioning in the way I need it to (where it is assigned to fib 56 and uses FIB 255 for the tunnel)--wireguard just *barely= * is and not only that but the best I could come up with was to add the last com= mand for it's setup to rc.local. I looked around for quite a while and I've found some evidence of people who have used it at different points in time and I = also don't think that it's always functioned the same way because some of the examples that I was able to piece together didn't work at all.=20 I don't really like using wireguard, but I'm not really keen on OpenVPN to = be honest and I feel like even ovpn at some point was a shortcut to get away f= rom having to deal with security associations, fragmentation with AH/ESP, NAT-T, etc.IPSEC hasn't always been the most reliable thing from one client to the next so there was also that but it's hard to imagine how that could be anym= ore so in theory the only obstacle is figuring out how to set it up in every ca= se. You can close this if you want. Personally, and I know my opinions are unpopular but I think for something that is in tree it should probably have= a little more documentation in the man page. --=20 You are receiving this mail because: You are the assignee for the bug.=