Last active
June 15, 2016 18:10
-
-
Save izhaomin/005aa59ef1b6bf5d8037 to your computer and use it in GitHub Desktop.
IPSec Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config setup | |
uniqueids=never | |
conn ikev1 | |
keyexchange=ikev1 | |
left=%defaultroute | |
leftauth=psk | |
leftsubnet=0.0.0.0/0 | |
right=%any | |
rightauth=psk | |
rightauth2=xauth | |
rightsourceip=10.1.0.0/24 | |
auto=add | |
conn ikev2 | |
keyexchange=ikev2 | |
ike=aes256-sha1-modp1024,aes128-sha1-modp1024,3des-sha1-modp1024! | |
esp=aes256-sha256,aes256-sha1,3des-sha1! | |
rekey=no | |
left=%defaultroute | |
leftauth=pubkey | |
leftsubnet=0.0.0.0/0 | |
leftid=ikev2.example.com | |
leftsendcert=always | |
leftcert=server.cert.pem | |
right=%any | |
rightauth=eap-mschapv2 | |
rightsourceip=10.1.0.0/24 | |
rightsendcert=never | |
eap_identity=%any | |
auto=add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment