Date: Fri, 12 Feb 2021 20:19:33 +0000 From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 253435] Jail does not create tunnel (wireguard) interface alias. Message-ID: <bug-253435-29815-70MJ4vSE9p@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253435-29815@https.bugs.freebsd.org/bugzilla/> References: <bug-253435-29815@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253435 Luca Pizzamiglio <pizzamig@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pizzamig@freebsd.org --- Comment #3 from Luca Pizzamiglio <pizzamig@freebsd.org> --- (In reply to Robert David from comment #2) I created a wireguard setup and those are my findings. The command to configure an alias on a wireguard interface via ifconfig is: ifconfig wgnet0 inet 192.168.0.10/24 192.168.0.10 alias With the jail command line, I successfully created an alias with: jail -c path=3D/path/to/jail ip4.addr=3D"wgnet0|192.168.0.10/24 192.168.0.1= 0" command=3D/bin/sh Or, using jail.conf:=20 wg-jail { path =3D /home/pizzamig/empty-jail; ip4.addr =3D "wgnet0|192.168.0.10/24 192.168.0.10"; command =3D "/bin/sh"; } Have you tried this latest configuration? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253435-29815-70MJ4vSE9p>