Skip to content

Instantly share code, notes, and snippets.

@DrPizza
Created April 16, 2016 19:50
Show Gist options
  • Select an option

  • Save DrPizza/321b1e378909d8132df338801928b688 to your computer and use it in GitHub Desktop.

Select an option

Save DrPizza/321b1e378909d8132df338801928b688 to your computer and use it in GitHub Desktop.
config setup
# strictcrlpolicy=yes
# uniqueids = no
charondebug="cfg 3, dmn 3, ike 3, net 3"
# Add connections here.
conn %default
keyexchange=ikev2
esp=aes-aes256-sha-modp1024,aes256-sha512-modp4096
ike=aes-aes256-sha-modp1024,aes256-sha512-modp4096
dpdaction=clear
dpddelay=300s
rekey=no
conn windows-password
left=%any
leftcert=serverCert.pem
leftauth=pubkey
# leftid=vpn.quiscalusmexicanus.org
leftid="C=US, O=quiscalusmexicanus, CN=vpn.quiscalusmexicanus.org"
leftsubnet=0.0.0.0/0,::/0
leftfirewall=yes
right=%any
rightsourceip=192.168.1.16/27
rightdns=192.168.1.1
rightauth=eap-mschapv2
rightsendcert=never
eap_identity=%any
# rightauth=pubkey
# rightca=caCert.pem
# rightcert=clientCert.pem
# rightauth2=eap-mschapv2
auto=add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment