Port Forwarding is configured on the router (machine making nat) and will forward connections originated from external clients to internal machine running asterisk.
If using Linux/Netfilter, run, on router:
#SETSIPSERVERINTERNALIP(LAN)
#FORWARDING
#ALLOWASTERISKCONNECTIONS/REPLIESTOOUTSIDE(INTERNET)
#ALLOWFORWARDEDCONNECTIONS/REPLIESTOINSIDE(LAN)
The range 10000:20000 is not mandatory, but in asterisk it is the default configuration. It can be checked (and altered if necessary) in the file rtp.conf, found generally in /etc/asterisk/rtp.conf.