[Bug 253435] Jail does not create tunnel (wireguard) interface alias.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 253435] Jail does not create tunnel (wireguard) interface alias.

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253435

Luca Pizzamiglio <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Luca Pizzamiglio <[hidden email]> ---
(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=/path/to/jail ip4.addr="wgnet0|192.168.0.10/24 192.168.0.10"
command=/bin/sh

Or, using jail.conf:

wg-jail {
  path = /home/pizzamig/empty-jail;
  ip4.addr = "wgnet0|192.168.0.10/24 192.168.0.10";
  command = "/bin/sh";
}

Have you tried this latest configuration?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[hidden email]"