| 1 | # /etc/ipsec.conf - Libreswan IPsec configuration file |
| 2 | |
| 3 | config setup |
| 4 | ikev1-policy=accept |
| 5 | # put the logs in /tmp for the UMLs, so that we can operate |
| 6 | # without syslogd, which seems to break on UMLs |
| 7 | logfile=/tmp/pluto.log |
| 8 | logtime=no |
| 9 | logappend=no |
| 10 | dumpdir=/tmp |
| 11 | plutodebug=all |
| 12 | |
| 13 | conn westnet-eastnet-aggr |
| 14 | keyexchange=ikev1 |
| 15 | aggressive=yes |
| 16 | # modp != east |
| 17 | ike=3des-sha1-modp1536 |
| 18 | also=westnet-eastnet-ipv4 |
| 19 | |
| 20 | conn westnet-eastnet-ipv4 |
| 21 | leftsubnet=192.0.1.0/24 |
| 22 | rightsubnet=192.0.2.0/24 |
| 23 | left=192.1.2.45 |
| 24 | leftnexthop=192.1.2.23 |
| 25 | right=192.1.2.23 |
| 26 | rightnexthop=192.1.2.45 |
| 27 | # Left security gateway, subnet behind it, next hop toward right. |
| 28 | leftid=@west |
| 29 | # Right security gateway, subnet behind it, next hop toward left. |
| 30 | rightid=@east |
| 31 | also=west-leftrsasigkey |
| 32 | also=east-rightrsasigkey |
| 33 | |
| 34 | include /testing/baseconfigs/all/etc/ipsec.d/rsasigkey.conf |