go-nat icon indicating copy to clipboard operation
go-nat copied to clipboard

Better handle networks with multiple NATS

Open Stebalien opened this issue 6 years ago • 0 comments

This:

  1. Provides a way to iterate over all discovered NATs.
  2. Tries to pick the best one.

(also fixes possible goroutine leaks when multiple NATs are discovered)

Honestly, the best way to handle mulitple NATs would be to try to configure all of them. However, this is a simpler interim solution.

Stebalien avatar Mar 06 '19 18:03 Stebalien