If you are using Windows XP, you may be able to automatically configure your firewall to open the necessary ports and obtain the external IP address using UPnP.
To enable UPnP:
Click Options on the toolbar, or select Tools > Options from the menu. The Program Options dialog appears.