Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 11:21:02 +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-cDrgUTEvoO@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

Robert David <robert.david.public@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|New                         |Closed

--- Comment #7 from Robert David <robert.david.public@gmail.com> ---
I have tested this now and can confirm that it works ok, so the bug may be
closed.

Tested simple jail configuration, with testing wireguard kmod=20
interface enabled and it is working correctly.

$ cat /etc/jail.conf
test {
    host.hostname =3D test;           # Hostnae
    ip4.addr =3D dwc0|192.168.10.60,wg0|192.168.200.60;                   #=
 IP
address of the jail
    path =3D "/nanopool/testjail";                    # Path to the jail
    exec.start =3D "/bin/sh /etc/rc";            # Start command
    exec.stop =3D "/bin/sh /etc/rc.shutdown";    # Stop command
}

With this configuration, there is no need to set the ip address on wg0
interface before jail start. It is set ok with jail start and assigned
correctly. I have tested ssh to the jail through wireguard and it works.

--=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-cDrgUTEvoO>