What ports do i need to portforward and what ip do i need to change in database

What ports do i need to portforward and what ip do i need to change in database to make my WoD server public ?

This is explained in the wiki.

https://trinitycore.atlassian.net/wiki/display/tc/Server+Setup

https://trinitycore.atlassian.net/wiki/display/tc/Networking