diff --git a/sio2/sisr/40-vlan/ipsec.conf b/sio2/sisr/40-vlan/ipsec.conf new file mode 100644 index 0000000..1d0db41 --- /dev/null +++ b/sio2/sisr/40-vlan/ipsec.conf @@ -0,0 +1,23 @@ +config setup + charondebug="all" + uniqueids=yes + strictcrlpolicy=no +conn %default +conn tunnel # + left=10.0.0.2 + leftsubnet=192.168.2.0/24 + right=10.0.0.1 + rightsubnet=192.168.1.0/24 + ike=aes256-sha2_256-modp1024! + esp=aes256-sha2_256! + keyingtries=0 + ikelifetime=1h + lifetime=8h + dpddelay=30 + dpdtimeout=120 + dpdaction=restart + authby=secret + auto=start + keyexchange=ikev2 + type=tunnel + diff --git a/sio2/sisr/40-vlan/ipsec.secrets b/sio2/sisr/40-vlan/ipsec.secrets new file mode 100644 index 0000000..d4a45b2 --- /dev/null +++ b/sio2/sisr/40-vlan/ipsec.secrets @@ -0,0 +1,5 @@ +# This file holds shared secrets or RSA private keys for authentication. + +# RSA private key for this host, authenticating it to any other host +# which knows the public part. +10.0.0.2 10.0.0.1 : PSK 'root'