Bind redirectionΒΆ

WFP driver allows to redirect the binding for client or server sockets, to make them use a different network interface or port. For example it is possible to route the traffic of some application/protocol via required network interface. Or set a different port for listening by some server application. The bind redirection is defined by rules NF_BINDING_RULE, added to driver using nf_addBindingRule(). The binding rules are deleted automatically after calling nf_free. Also it is possible to delete all rules using nf_deleteBindingRules().