Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
tecnico
Participant

2FA RemoteAccess VPN Configuration using mail

Hi,

 

We need to configure the 2FA using mail in RemoteAccess VPN. We want to use Gmail.

We have tested this script:

mail:TO=$EMAIL;SMTPSERVER=smtps://user mail:password@smtp.gmail.com;FROM=user mail;BODY=$RAWMESSAGE

 

But it´s not correct, because it gives me a DynamicID error (The error says: "Failed to send DynamicID").

¿Must be the password an application password?.

Can you help us please.

 

Best regards.

 

0 Kudos
4 Replies
_Val_
Admin
Admin

AFAIK, Goole SMTP does not support simple password-based authentication anymore, try with another server first. 

0 Kudos
PhoneBoy
Admin
Admin

Actually, you can use Gmail if you generate an Application-Specific password.

tecnico
Participant

I will test with an Application password.

 

Thanks for all.

0 Kudos
tecnico
Participant

Thanks for all.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events