March 17, 2010 at 11:48 pm #42287
I am trying to cosntruct a lan to lan VPN from another Company
This , have told me the preshared key “JVh3sr5I6C” to put into my vpn configuration.
They are using the Encryption Method IKE: AES256:SHA
My questions are:
– If they are giving me the preshared key , how am I acting as a server or client?
– I have got the following error when i Save my conf:
Insufficient key material or header text not found found in file ‘/tmp/VPN00.psk’ (10/128/256 bytes found/min/max)
Could anyone help me. Thanks very muchMarch 18, 2010 at 10:18 am #49902
Could you post a screenshot of the configuration?March 18, 2010 at 3:45 pm #49903
Firs I tried to put the preshared key in ascii, and I Have got an error about the NOn-HEx code.
And after I put it in hexadec snd I have got the “Insufficient key material or header text not found found in” error
Thanks and RegardsMarch 19, 2010 at 7:59 am #49904
Looks like you should not leave spaces in the key.
If you use the gen-key button next to the passphrase field you will get something like the following:
I suggest you use the gen-key button to provide you a correct key.March 19, 2010 at 10:02 am #49905
Yes that’s rigth, but in the case that a preshared key is given, what should I do?
The other side gave me the key, to put it into my side
They gave me an ascii preshared key, I introduce it in the zeroshell and I have got the error related to the non hex characters.
So I convert the ascii key into hex and I tried to introduce it and I have got the error “Insufficient key material or header text not found found in”
What can i do?
ThanksMarch 19, 2010 at 10:17 am #49906
If the ascii key they gave to you contains only letters from a to f and numbers then delete any spaces and try to insert it in the field without any conversion.March 19, 2010 at 12:30 pm #49907
I am trying to introduce: JVq3rc6I5M
and I have got:
Non-Hex character (‘J’) found at line 2 in key file ‘/tmp/VPN00.psk’ (0/128/256 bytes found/min/max)
Thanks,March 19, 2010 at 2:01 pm #49908
As I said before letters in hex are A-F, J is out of this window, so it is no surprise to give you an error.
The key you are trying to insert is too small, it is only 10bytes and Zeroshell expects at least 128bytes up to 256. I suggest you generate a key on ZS and send it to your peer.March 19, 2010 at 7:41 pm #49909
You must be logged in to reply to this topic.