traveling

I live in the USA, last year when I went to Mexico, I could not log into my computer at home because I was more than 300 miles from my usual location.  Next week I will once again be traveling and I need to know if it is possible to make it so that I can access my computer from the new location.