| 1 | # /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 | |
| 3 | version 2.0 |
| 4 | |
| 5 | config setup |
| 6 | ikev1-policy=accept |
| 7 | # put the logs in /tmp for the UMLs, so that we can operate |
| 8 | # without syslogd, which seems to break on UMLs |
| 9 | logfile=/tmp/pluto.log |
| 10 | logtime=no |
| 11 | logappend=no |
| 12 | plutodebug=all |
| 13 | dumpdir=/var/tmp |
| 14 | |
| 15 | conn xauth-road-eastnet |
| 16 | keyexchange=ikev1 |
| 17 | also=road-east-base |
| 18 | rightsubnet=192.0.2.0/24 |
| 19 | rightxauthserver=yes |
| 20 | left=%any |
| 21 | leftxauthclient=yes |
| 22 | xauthby=file |
| 23 | |
| 24 | conn road-east-base |
| 25 | right=192.1.2.23 |
| 26 | #left not specified as test case picks "random" ip |
| 27 | # Left security gateway, subnet behind it, next hop toward right. |
| 28 | leftid=@road |
| 29 | # Right security gateway, subnet behind it, next hop toward left. |
| 30 | rightid=@east |
| 31 | also=road-leftrsasigkey |
| 32 | also=east-rightrsasigkey |
| 33 | |
| 34 | include /testing/baseconfigs/all/etc/ipsec.d/rsasigkey.conf |