Community discussions

MikroTik App
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

IPsec secret max/preferred length

Sat Jul 21, 2018 8:46 pm

I set up a L2TP/IPsec VPN for remote users.

What is the max length / preferred length for IPsec secret?

(Also, what is the user password length I should aim for?)

Thanks
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: IPsec secret max/preferred length  [SOLVED]

Sat Jul 21, 2018 10:18 pm

I'm not sure about the user password; as for the shared secret, a 128-byte random string (i.e. 256 hexadecimal characters) is the best one you can have.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: IPsec secret max/preferred length

Sun Jul 22, 2018 3:17 pm

I'm not sure about the user password; as for the shared secret, a 128-byte random string (i.e. 256 hexadecimal characters) is the best one you can have.
Tested it, and it works. 128 bit key, Aa#.

Also tested user password; 128 bit key Aa# works.

Who is online

Users browsing this forum: djvabe, GoogleOther [Bot], K0NCTANT1N and 125 guests