Closed ymmt2005 closed 3 years ago
This PR adds a set of structs that implement NAT client and server as a whole.
NAT client and server communicate over Foo-over-UDP tunnel. The implementation supports both IPv4 and IPv6.
Package: pkg/founat Structs:
pkg/founat
FoUTunnel
NATClient
Egress
This PR adds a set of structs that implement NAT client and server as a whole.
NAT client and server communicate over Foo-over-UDP tunnel. The implementation supports both IPv4 and IPv6.
Package:
pkg/founat
Structs:FoUTunnel
: receive FoU UDP packets and create tunnel devicesNATClient
: registers egress networks with the routing tableEgress
: configure NAT rules