There are a million site-to-site and host-to-host examples. I can't seem to find a single site-to-host example. I am looking for the most basic possible example with no certificates at all, that just listens and accepts with a simple username and password from any ipaddress, one that will work with the built-in windows client.
EDIT:
When I try the roadwarrior examples it just says my username or password is incorrect in windows
/etc/ipsec.secrets:
: PSK "mypassword"
/etc/ipsec.conf:
conn rw
leftsubnet=192.168.0.0/16
leftcert=moonCert.pem
right=%any
authby=psk
auto=add
I get the following error
12[IKE] peer requested EAP, config unacceptable
12[CFG] no alternative config found
12[IKE] peer supports MOBIKE
12[ENC] generating IKE_AUTH response 1 [ N(AUTH_FAILED) ]
when I try to connect in windows and just provide the password with no username.
Any thoughts on how to correct the authentication issue?
Edit 2:
With the following config
leftsubnet=x.x.0.0/16
left=x.x.x.x
right=%any
leftauth=pubkey
rightauth=eap-mschapv2
eap_identity=%identity
auto=add
and ipsec.secrets
user : EAP "password"
I get the following error
[CFG] selected peer config 'rw'
[IKE] initiating EAP_IDENTITY method (id 0x00)
[IKE] peer supports MOBIKE
[IKE] no private key found for '192.168.254.137'
[ENC] generating IKE_AUTH response 1 [ N(AUTH_FAILED) ]