Most people who look at the rogue class come to the conclusion that the rogue could make a good tank with all of their defensive abilities. As I discussed in my article best tank class, while the rogue has some good abilities the ok health and the poor AC leaves something to be desired.
So, how to get a good tank rogue? The things that make tanks strong are AC, health, saves, and other defensive abilities. Although the rogue has some of these it needs help with the rest.
Born into it
Picking a race that increases you tanking abilities is the first start. What you are looking for is a race with a con and or dex bonus. Most rogues only need dex for most of their abilities and high constitution gives you the health to survive the fight.
That being said there are other races that can give more defensive bonuses. Githyanki gains a +1 to ac for when not wearing armor of shields and the ability to cast shield as an ability once a day. Beasthide shifters give you a +1 to AC along with temporary HP.
If these races are not to your liking than any race with con and or dex bonus will do fine. One thing you can also do is get a race with a bonus to wisdom. We will get back to why this is important later.