You need to set the hubaddress to the right external IP or DNS address, that way when you connect locally to the hub, the hub can send the public IP in a connection request from a user.
Use !set hub_address <IP or DNS>:<port>
For example:
!set hub_address myhub.kicksass.com:411
or
!set hub_address 76.54.32.10:8000