Differences between revisions 1 and 2
Revision 1 as of 2017-08-10 11:18:57
Size: 680
Editor: PieterSmit
Comment:
Revision 2 as of 2017-08-10 11:19:44
Size: 682
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 4: Line 3:
Line 5: Line 5:

Strongswan ipsec configuration

# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup

# Sample VPN connections

conn strongswan
 closeaction=restart
 dpdaction=restart
 ike=aes256-sha1-modp1024
 esp=aes256-sha1
 reauth=no
 keyexchange=ikev2
 ikelifetime=28800s
 keylife=3600s
 keyingtries=%forever
 authby=secret
 type=tunnel
 forceencaps=yes
 left=192.168.0.yy
 leftsourceip=192.168.0.yy
 leftid=51.141.x.xxx
 #leftsubnet=192.168.0.0/23
 leftsubnet=0.0.0.0/0
 right=40.78.zzz.zzz
 rightsubnet=10.1.0.0/23
 auto=start

include /var/lib/strongswan/ipsec.conf.inc

...

IpSec/StrongSwan (last edited 2017-08-10 11:33:40 by PieterSmit)