The outgoing port (your side) can be any number from 1025 up to 65535, because outgoing ports are handed out (and managed) by your IP stack in (usually) consecutive order for each new outgoing TCP connection. Also, your outgoing port will change each time you login / relog - it would be pretty much useless to work with these.
If your equipment is capabable of prioritizing traffic based on its
destination / remote port, then the numbers you are looking for are 5001-5004 (TCP).
Now for the server IPs, the list at
http://community.stratics.com/threads/shard-ip-addresses.249180/ has slightly more info (subnet), but also only contains the what I have called the "management IPs", as these are the ones being polled by the shard selection screen. You will actually never be connected to the "management IP" for gameplay, but to an IP within the same subnet.
If you would like to know specific gameplay IPs for the shard you are playing on, I can tell you them (the list for all shards is a bit long to post!), or you collect them yourself with "netstat -an". There are 2 "gameplay IPs" for each shard, with Atlantic being special (as usual...) with at least 3.