package config type FlowRule struct { Table string `json:"table,omitempty" yaml:"table,omitempty"` Chain string `json:"chain,omitempty" yaml:"chain,omitempty"` Input string `json:"input,omitempty" yaml:"input,omitempty"` Source string `json:"source,omitempty" yaml:"source,omitempty"` ToSource string `json:"to-source,omitempty" yaml:"toSource,omitempty"` Dest string `json:"destination,omitempty" yaml:"destination,omitempty"` ToDest string `json:"to-destination" yaml:"toDestination,omitempty"` Output string `json:"output,omitempty" yaml:"output,omitempty"` Comment string `json:"comment,omitempty" yaml:"comment,omitempty"` Proto string `json:"protocol,omitempty" yaml:"protocol,omitempty"` Match string `json:"match,omitempty" yaml:"match,omitempty"` DstPort string `json:"dport,omitempty" yaml:"destPort,omitempty"` SrcPort string `json:"sport,omitempty" yaml:"sourcePort,omitempty"` Jump string `json:"jump,omitempty" yaml:"jump,omitempty"` // SNAT/RETURN/MASQUERADE }