subscribe to our Youtube


14455 questions

17168 answers


0 members

We are migrating to our new platform at Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
916 views 1 comments
I have followed this guide to create an IPSEC/L2TP vpn to my server However, there is no textbox to fill the pre-shared key in IPSEC options. I have enabled pre-shared key option and transport. However, the pre-shared key input box is missing. Any help will be greatly appriciated.

1 Answer

0 votes
by anonymous


It still exists, but in new firmwares it has been moved to a new section. Now it's in the page where all IPsec configuration instances are located (Services → VPN → IPsec).

by anonymous


This is the same on RUT955. You have to specify PSK per host (or wildchar).

There is slight problem, that the init scripts have not been fully tested. I have been debugging this for last few hours.

/etc/init.d/ipsec script will generate one more entry into /etc/ipsec.secrets

PSK : "0"

Problem with this entry is , that it will match on every host, and use password "0". Solution is to edit /etc/init.d/ipsec and find:

        if [ "$auth" = "psk" ]; then
                echo ": PSK \"$psk_key\" " >>"$File_secrets"
                echo "  leftauth=$auth" >>"$File_ipsec"
                echo "  rightauth=$auth" >>"$File_ipsec"
remove line "echo ": PSK ..... " (or add # in front of it)

I think they moved from psk per host into global PSK list, and forgot this. (Yes Teltonika, you need more testing!)