mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Add option --bridge-accept-fwmark
Packets with the given firewall mark are accepted by the bridge driver's filter-FORWARD rules. The value can either be an integer mark, or it can include a mask in the format "<mark>/<mask>". Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
@@ -938,6 +938,7 @@ func networkPlatformOptions(conf *config.Config) []nwconfig.Option {
|
||||
"EnableIP6Tables": conf.BridgeConfig.EnableIP6Tables,
|
||||
"Hairpin": !conf.EnableUserlandProxy || conf.UserlandProxyPath == "",
|
||||
"AllowDirectRouting": conf.BridgeConfig.AllowDirectRouting,
|
||||
"AcceptFwMark": conf.BridgeConfig.BridgeAcceptFwMark,
|
||||
},
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user