You cannot play Madden NFL 10 online on PS2 via a PC connection.
The PS2 online era is over. Local play or modern titles are the only paths.