blob: 7ca0d413495bb0ae47671a58fa6cfa899493eb35 [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=1h
12
13# local:
14 leftauth=psk
15 leftid=@roadwarrior.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