The most important thing is that you set the ports to UDP.
Most people set them to TCP , and not to UDP, and that's why it doesn't work.
The Windows Firewall also does some problems sometimes, open the ports there too.
In most cases it's enough to open 28000 to 28012 (UDP!), most internet connections won't endure more players anyways.