Oaxaca is a gnarly 6 hour drive from the coast. You wouldnt want to both in the same time. But you could go and stay there for a few days when the waves were flat. I have spent a lot of time in that region, but never once found the motivation to ride a bike there. The waves pump non stop.
Bookmarks