I recommend you using Albertino Port Mapper (http://www.geogensoft.com/software/10-port-mapper[safe download]) to port forward. It is simple. Open the program, click the "+" and type the local port(the port listed in server.properties) and the desired public port. Repeat until all desired ports are mapped. Then click "Start Listening" and the application is communicating from the router to you PC/Mac. Here is the link for the server.properties file.
For PC server.properties:
http://minecraft.gamepedia.com/Server.properties
For PE server.properties:
http://pocketmine-mp.readthedocs.org/en/latest/config.html
Note: For PC servers, you must have the Minecraft Server program. (https://minecraft.net/download)
For PE servers, you must have PocketMine. (http://www.pocketmine.net/)
I recommend the development version of PocketMine. The Beta build is a bit glitchy and the Stable build is outdated.
Please vote up.
//Update: Albertino port mapper must be run as administrator. Change this in the .exe properties. Right-click and press properties, under the compatibility tab check run as administrator.
P.S. You must be an admin on your PC to work this option. If you are not an admin, you just have to know the password to the admin account to get past.