Skip to content

Instantly share code, notes, and snippets.

@ram0973
Created October 2, 2022 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ram0973/0a6d69376b46e1aa4c08bf474a45e579 to your computer and use it in GitHub Desktop.
Save ram0973/0a6d69376b46e1aa4c08bf474a45e579 to your computer and use it in GitHub Desktop.
StrongSwan config
connections {
rw {
pools = primary-pool
local {
auth = pubkey
certs = cert.pem
id = certificate_domain_name
}
remote {
auth = eap-mschapv2
}
children {
rw {
local_ts = 0.0.0.0/0
}
}
send_certreq = no
}
}
secrets {
eap-username {
id = username
secret = MyVeryStrongPassword2022#
}
}
pools {
primary-pool {
addrs = 10.0.0.0/24
dns = 8.8.8.8, 8.8.4.4
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment