http://gpp6nwvsps43b3mfacsh433uroo6uyjvvpr6tgj4jh4n5ngxt7rqbvid.onion/posts/ipsec-libreswan.html
Set Up Preshared Key Edit the IPsec secrets file: vi /etc/ipsec.d/psk.secrets Insert a line with your preshared key. We will use as an example a preshared key of ArnieBooksCello : %any: PSK "ArnieBooksCello" Save the file. 1.5. Set Up Usernames and Passwords Suppose we have three users, alice , bob , and carol .