A teacher in Burke County was arrested after being connected to an online child pornography investigation, deputies said.