Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NATService ¶
type NATService interface { Add(rule RuleForwarding) Start() error Stop() }
NATService describes fake nat service for darwin
func NewService ¶
func NewService() NATService
NewService returns linux os specific nat service based on ip tables
type RuleForwarding ¶
RuleForwarding describes fake nat rule
Click to show internal directories.
Click to hide internal directories.