forked from containers/podman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request containers#18303 from n1hility/user-mode
Add user-mode networking feature to Windows/WSL
- Loading branch information
Showing
19 changed files
with
741 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
####> This option file is used in: | ||
####> podman machine init, machine set | ||
####> If file is edited, make sure the changes | ||
####> are applicable to all of those. | ||
#### **--user-mode-networking** | ||
|
||
Whether this machine should relay traffic from the guest through a user-space | ||
process running on the host. In some VPN configurations the VPN may drop | ||
traffic from alternate network interfaces, including VM network devices. By | ||
enabling user-mode networking (a setting of `true`), VPNs will observe all | ||
podman machine traffic as coming from the host, bypassing the problem. | ||
|
||
When the qemu backend is used (Linux, Mac), user-mode networking is | ||
mandatory and the only allowed value is `true`. In contrast, The Windows/WSL | ||
backend defaults to `false`, and follows the standard WSL network setup. | ||
Changing this setting to `true` on Windows/WSL will inform Podman to replace | ||
the WSL networking setup on start of this machine instance with a user-mode | ||
networking distribution. Since WSL shares the same kernel across | ||
distributions, all other running distributions will reuse this network. | ||
Likewise, when the last machine instance with a `true` setting stops, the | ||
original networking setup will be restored. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.