updated ikev1/xauth-rsa scenario to xauth plugin
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
The roadwarriors <b>carol</b> and <b>dave</b> set up a connection to gateway <b>moon</b>.
|
||||
The authentication is based on RSA signatures (<b>RSASIG</b>) using X.509 certificates
|
||||
followed by extended authentication (<b>XAUTH</b>) of <b>carol</b> and <b>dave</b>
|
||||
based on user names and passwords.
|
||||
based on user names equal to the <b>IKEv1 identity</b> (<b>[email protected]</b> and
|
||||
<b>[email protected]</b>, respectively) and corresponding user passwords defined and
|
||||
stored in ipsec.secrets.
|
||||
<p>
|
||||
Upon the successful establishment of the IPsec tunnel, leftfirewall=yes automatically
|
||||
inserts iptables-based firewall rules that let pass the tunneled traffic.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
carol::cat /var/log/auth.log::extended authentication was successful::YES
|
||||
dave::cat /var/log/auth.log::extended authentication was successful::YES
|
||||
moon::cat /var/log/auth.log::xauth user name is .*[email protected]::YES
|
||||
moon::cat /var/log/auth.log::xauth user name is .*[email protected]::YES
|
||||
moon::cat /var/log/auth.log::extended authentication was successful::YES
|
||||
carol::ipsec status::home.*STATE_QUICK_I2.*IPsec SA established::YES
|
||||
dave::ipsec status::home.*STATE_QUICK_I2.*IPsec SA established::YES
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
: RSA carolKey.pem "nH5ZQEWtku0RJEZ6"
|
||||
|
||||
: XAUTH carol "4iChxLT3"
|
||||
[email protected] : XAUTH "4iChxLT3"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
pluto {
|
||||
load = sha1 sha2 md5 aes des hmac pem pkcs1 x509 gmp random curl xauth
|
||||
}
|
||||
|
||||
# pluto uses optimized DH exponent sizes (RFC 3526)
|
||||
|
||||
libstrongswan {
|
||||
dh_exponent_ansi_x9_42 = no
|
||||
}
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
: RSA daveKey.pem
|
||||
|
||||
: XAUTH dave "ryftzG4A"
|
||||
[email protected] : XAUTH "ryftzG4A"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
pluto {
|
||||
load = sha1 sha2 md5 aes des hmac pem pkcs1 x509 gmp random curl xauth
|
||||
}
|
||||
|
||||
# pluto uses optimized DH exponent sizes (RFC 3526)
|
||||
|
||||
libstrongswan {
|
||||
dh_exponent_ansi_x9_42 = no
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
# /etc/ipsec.conf - strongSwan IPsec configuration file
|
||||
|
||||
config setup
|
||||
plutodebug="control"
|
||||
plutodebug=control
|
||||
crlcheckinterval=180
|
||||
strictcrlpolicy=no
|
||||
charonstart=no
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
: RSA moonKey.pem
|
||||
|
||||
: XAUTH carol "4iChxLT3"
|
||||
[email protected] : XAUTH "4iChxLT3"
|
||||
|
||||
: XAUTH dave "ryftzG4A"
|
||||
[email protected] : XAUTH "ryftzG4A"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
pluto {
|
||||
load = sha1 sha2 md5 aes des hmac pem pkcs1 x509 gmp random curl xauth
|
||||
}
|
||||
|
||||
# pluto uses optimized DH exponent sizes (RFC 3526)
|
||||
|
||||
libstrongswan {
|
||||
dh_exponent_ansi_x9_42 = no
|
||||
}
|
||||
Reference in New Issue
Block a user