My father objected to my going to the mountains alone.

Literal

Father [topic-は] me [subject-が] mountain [to-へ] alone [by-で] go [nominalizer-こと] [to-に] opposed.

反対した (opposed) takes に for the thing opposed. ことに nominalizes the going-alone.