mirror of
https://github.com/containers/podman.git
synced 2025-07-03 01:08:02 +08:00
@ -26,6 +26,9 @@
|
||||
"portMappings": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "firewall"
|
||||
},
|
||||
{
|
||||
"type": "tuning"
|
||||
}
|
||||
|
@ -209,6 +209,7 @@ func (r *LocalRuntime) NetworkCreateBridge(cli *cliconfig.NetworkCreateValues) (
|
||||
bridge := network.NewHostLocalBridge(bridgeDeviceName, isGateway, false, ipMasq, ipamConfig)
|
||||
plugins = append(plugins, bridge)
|
||||
plugins = append(plugins, network.NewPortMapPlugin())
|
||||
plugins = append(plugins, network.NewFirewallPlugin())
|
||||
// if we find the dnsname plugin, we add configuration for it
|
||||
if network.HasDNSNamePlugin(runtimeConfig.CNIPluginDir) && !cli.DisableDNS {
|
||||
// Note: in the future we might like to allow for dynamic domain names
|
||||
|
@ -110,7 +110,6 @@ func NewPortMapPlugin() PortMapConfig {
|
||||
func NewFirewallPlugin() FirewallConfig {
|
||||
return FirewallConfig{
|
||||
PluginType: "firewall",
|
||||
Backend: "iptables",
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user