Border Patrol Agent is a federal job. Being a veteran can help you get most federal jobs. Sometimes when federal jobs become available, only veterans or other specified people can apply. And depending on what job you do in the military, you could get some relevant work experience. MP or infantry might be good.