Train service is only available between Simon's Town and Cape Town and won`t bring you to the the Cape of Good Hope, so the best option is a car. Another option is one of the tours offered everywhere in Cape Town.
Take the roads from Cape Town southward, passing Simon's Town and the Boulders to go to the Cape of Good Hope. You will always be on the peninsula, when you are south from Table Mountain.
Drive the scenic drives along the east and west coast of the Peninsula, e.g. the Chapman's Peak Drive, one of the most spectacular costal roads of the world. It beginns in Noordhoek and ends 9 km later in Hout Bay. The road was closed in 1999 after 30% of the street was hit by stone avalanches and reopened on 20.12.2003. Toll road.