blob: 0291b8e2832b08aadaad9e9733af501dabfb3f9a [file] [log] [blame]
Filip Tehlard5a33802021-02-20 02:26:17 +00001config setup
2 strictcrlpolicy=no
3
4conn initiator
5 mobike=no
6 auto=add
7 type=tunnel
8 keyexchange=ikev2
9 ike=aes256gcm16-prfsha256-modp2048!
10 esp=aes256gcm16-esn!
11 lifetime=1m
12
13# local:
14 leftauth=psk
15 leftid=@roadwarrior1.vpn.example.com
16 leftsubnet=192.168.5.0/24
17
18# remote: (gateway)
19 rightid=@vpp.home
20 right=192.168.10.2
21 rightauth=psk
22 rightsubnet=192.168.3.0/24
23