File: ipsec.secrets.example

package info (click to toggle)
libreswan 5.2-2.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 81,644 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (23 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# sample @@IPSEC_SECRETS@@ file for 10.1.0.1:
10.1.0.1 10.2.0.1 : PSK "secret shared by two hosts"

# sample roadwarrior
%any gateway.corp.com : PSK "shared secret with many roadwarriors"

# sample server for roadwarriors
myip %any : PSK "shared secret with many roadwarriors"

# an entry may be split across lines,
# but indentation matters

www.xs4all.nl @www.kremvax.ru
	      10.6.0.1 10.7.0.1 1.8.0.1 : PSK "secret shared by 5 systems"

# sample entry for static PPK
10.1.0.1 10.2.0.1 : PPKS "PPK_ID_1" "post-quantum preshared key for extra security"

# XAUTH password, used with leftusername=username
@username : XAUTH "password"

# get secrets from other files
include ipsec.*.secrets