MCPcopy
hub / github.com/netbirdio/netbird / ForwardingRule

Struct ForwardingRule

management/server/types/network.go:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77type ForwardingRule struct {
78 RuleProtocol string
79 DestinationPorts RulePortRange
80 TranslatedAddress net.IP
81 TranslatedPorts RulePortRange
82}
83
84func (f *ForwardingRule) ToProto() *proto.ForwardingRule {
85 var protocol proto.RuleProtocol

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected