Advertisement
Guest User

IPSec client conf file

a guest
May 18th, 2017
853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ipsec.conf - strongSwan IPsec configuration file
  2.  
  3. # basic configuration
  4.  
  5. config setup
  6.     #charonstart=yes
  7.     #plutostart=no
  8.     #nat_traversal=yes
  9.  
  10. # Add connections here.
  11.  
  12. # Sample VPN connections
  13.  
  14. conn %default
  15.     ikelifetime=60m
  16.     keylife=20m
  17.     rekeymargin=3m
  18.     keyingtris=1
  19.     keyexchange=ikev2
  20.     authby=secret
  21.  
  22. conn vpn    
  23.     right=<server_public_ip>
  24.    
  25.     rightsubnet=10.0.0.0/24
  26.     rightauth=pubkey
  27.    
  28.     left=%any
  29.     leftid=alessio
  30.     leftsourceip=%config
  31.     leftfirewall=yes
  32.     leftauth=eap
  33.     eap_identity=alessio
  34.     auto=add
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement