Could be your ISP or hosting provider filtering outbound connections to port 25 to prevent botnet spam. Use
traceroute -n alt2.gmail-smtp-in.l.google.com
and/or
tcptraceroute -n alt2.gmail-smtp-in.l.google.com 25
to check which hop is blocking the connection