-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use IPVS for nating instead of iptables
Using iptables for setting up nat rules has a nasty tendancy to conflict with user-defined firewall rules, and tend to be invisible to tools like UFW. Meanwhile using ipvs for nat is fairly natural and does not require mucking around in iptables rules. The one thing we do need to continue using iptables for here is nating against localhost, however this shouldn't intefere with user-defined rules unless they are denying localhost (not likely)... and still much better than having public interfaces here. Fixes (after re-vendor) moby/moby#4737 Fixes (after re-vendor) moby/moby#22054 Signed-off-by: Brian Goff <cpuguy83@gmail.com>
- Loading branch information
Showing
8 changed files
with
309 additions
and
73 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
Oops, something went wrong.