Any man with whom a woman has a relationship (of blood or foster age) that precludes marriage, is considered a Mahram to her.
Women who a man is mahram to, include his mother, grandmother, daughter, granddaughter, sister, aunt, grandaunt, niece, grandniece, his father's wife, his wife's daughter, his mother-in-law, his foster mother (the one who nursed him), foster sisters, and any foster relatives that are similar to the above mentioned blood relatives as the Prophet (SAW) said, "What is forbidden by reason of kindship is forbidden by reason of suckling." (Al-Bukhari)
Men are considered Mahram to these women because Allah (SWT) mentioned them in the Holy Qur'an: "And marry not women whom your fathers married, except what has already passed; indeed it was shameful and most hateful, and an evil way. Forbidden to you (for marriage) are: your mothers, your daughters, your sisters, your father's sisters, your mother's sisters, your brother's daughters, your sister's daughters, your foster mother who gave you suck, your foster milk suckling sisters, your wives' mothers, your step-daughters under your guardianship, born of your wives to whom you have go in - but there is no sin on you if you have not gone in them (to marry their daughters), - the wives of your sons who (spring) from your own loins, and two sisters in wedlock at the same time, except for what has already passed; verily, Allah is Oft-Forgiving, Most Merciful." (An-Nisa 4:22-23)
All the man's female relatives mentioned in these two verses are considered he is considered Mahram to, because it is unlawful (haram) for him to marry them, except the wife's sister mentioned last, who he is not a Mahram to, because he can marry her if he divorces her sister, or if she dies. Reciprocally, if a woman is a Mahram to a man, such as her brother, her father, her uncle, etc. then he is a Mahram to her. All other relatives he can not be a mahram to and as they fall under the category of strangers to him, except one's wife or husband who are allowed.