[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.


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 alias

With the jail command line, I successfully created an alias with:

jail -c path=/path/to/jail ip4.addr="wgnet0|"

Or, using jail.conf:

wg-jail {
  path = /home/pizzamig/empty-jail;
  ip4.addr = "wgnet0|";
  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
To unsubscribe, send any mail to "[hidden email]"