| 1 | # /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 | |
| 3 | version 2.0 |
| 4 | |
| 5 | config setup |
| 6 | # put the logs in /tmp for the UMLs, so that we can operate |
| 7 | # without syslogd, which seems to break on UMLs |
| 8 | logfile=/tmp/pluto.log |
| 9 | logtime=no |
| 10 | logappend=no |
| 11 | plutodebug=all,crypt |
| 12 | dumpdir=/tmp |
| 13 | |
| 14 | conn common |
| 15 | left=192.1.2.45 |
| 16 | leftnexthop=192.1.2.23 |
| 17 | right=192.1.2.23 |
| 18 | rightnexthop=192.1.2.45 |
| 19 | leftsubnet=192.0.1.0/24 |
| 20 | rightsubnet=192.0.2.0/24 |
| 21 | leftid=@west |
| 22 | rightid=@east |
| 23 | authby=secret |
| 24 | |
| 25 | conn ike=chacha20poly1305-sha2-dh19 |
| 26 | also=common |
| 27 | ike=chacha20poly1305-sha2-dh19 |
| 28 | |
| 29 | conn ike=aes128-sha2-dh19 |
| 30 | also=common |
| 31 | ike=aes128-sha2-dh19 |
| 32 | conn ike=aes128-sha2-dh20 |
| 33 | also=common |
| 34 | ike=aes128-sha2-dh20 |
| 35 | conn ike=aes128-sha2-dh21 |
| 36 | also=common |
| 37 | ike=aes128-sha2-dh21 |
| 38 | |
| 39 | conn ike=aes128-sha1-dh19 |
| 40 | also=common |
| 41 | ike=aes128-sha1-dh19 |
| 42 | conn ike=aes128-sha1-dh20 |
| 43 | also=common |
| 44 | ike=aes128-sha1-dh20 |
| 45 | conn ike=aes128-sha1-dh21 |
| 46 | also=common |
| 47 | ike=aes128-sha1-dh21 |
| 48 | |
| 49 | conn ike=aes_ctr128-sha1-dh21 |
| 50 | also=common |
| 51 | ike=aes_ctr128-sha1-dh21 |
| 52 | |
| 53 | conn ike=3des-sha2-modp2048 |
| 54 | also=common |
| 55 | ike=3des-sha2-modp2048 |
| 56 | |
| 57 | conn ike=aes128-aes_xcbc-modp2048 |
| 58 | also=common |
| 59 | ike=aes128-aes_xcbc-modp2048 |
| 60 |