I am trying to understand why do we really use those pre-shared keys when creating a IPSec tunnel.
From all the reading that I have done the DH group creates the keys that are used to do the actual data encryption, hope I am correct. If yes, the pre-shared keys are used only for the authentication?