To do this, I convert the ports to base 32 strings in the format of "guestport-hostport." This makes a consistent mapping we can use to look up if the forwarded port is set.
To do this, I convert the ports to base 32 strings in the format of "guestport-hostport." This makes a consistent mapping we can use to look up if the forwarded port is set.