|
|||||||||||
|
[Users] Problem with Freeswan2.05 (2.4.26-grsec) Debian woody and Win Xp
From: Frieder 'cfreak' Kundel <cfreak(at)ckras.com>
Date: Thu Apr 29 2004 - 14:45:07 EDT
Now i am trying for days to get Freeswan working (a few hours ago i started again at the beginning but no success) (Sorry for my big mail, but i thought its better to send all config files with this mail, and also sorry for my (bad?) english, i'm of German nationality. Perhaps you find any mistake I did: I used http://www.natecarlson.com/linux/ipsec-x509.php as Howto. Windowsbox --> HardwareRouter <--> Inet-Server <-- Local Network (192.168.1.10)--> 192.168.1.1 <--> 82.149.x.y <-- 192.168.0.x
Linux 2.4.26-grsec #3 SMP Tue Apr 27 19:23:22 CEST 2004 i686 unknown
Linux FreeS/WAN 2.05
### Config ipsec.conf ###
# basic configuration
interfaces="ipsec0=eth0:2"
klipsdebug=none
plutodebug=none
uniqueids=yes
conn %default
rightrsasigkey=%cert
leftrsasigkey=%cert
authby=rsasig
keyingtries=1
compress=yes
disablearrivalcheck=no
# OE policy groups are disabled by default conn block
auto=ignore
auto=ignore
auto=ignore
auto=ignore
auto=ignore
auto=ignore conn roadwarrior
right=%any
left=192.168.0.69
auto=add
pfs=yes
conn roadwarrior-net
leftsubnet=192.168.0.0/255.255.0.0
also=roadwarrior
######### ipsec.secrets #########
: RSA <snip>.dyndns.info.key "<snip>"
# RSA 1776 bits
/etc/ipsec.d# ls *
####### eth0 inet addr:82.149.x.y Bcast:82.149.<snip> Mask:255.255.254.0 eth0:1 inet addr:192.168.0.69 Bcast:192.168.0.255 Mask:255.255.255.0 eth0:2 inet addr:82.149.x.y2 Bcast:82.149.<snip> Mask:255.255.254.0 ipsec0 inet addr:82.149.x.y2 Mask:255.255.<snip>
#########
Version check and ipsec on-path [OK] Linux FreeS/WAN 2.05 Checking for IPsec kernel support: found KLIPS [OK] Checking that pluto is running [OK] ##### Logs:
==> /var/log/auth.log <==
pluto[18606]: Starting Pluto (FreeS/WAN Version 2.05 X.509-1.5.3 PLUTO_USES_KEYRR) pluto[18606]: Using KLIPS IPsec interface code pluto[18606]: Changing to directory '/etc/ipsec.d/cacerts' pluto[18606]: loaded CA cert file 'cacert.pem' (1533 bytes) pluto[18606]: Changing to directory '/etc/ipsec.d/aacerts' pluto[18606]: Changing to directory '/etc/ipsec.d/ocspcerts' pluto[18606]: Changing to directory '/etc/ipsec.d/crls' pluto[18606]: loaded crl file 'crl.pem' (658 bytes) ==> /var/log/syslog <== ipsec_setup: Starting FreeS/WAN IPsec 2.05... ipsec_setup: KLIPS debug `none' ipsec_setup: KLIPS ipsec0 on eth0:2 82.149.x.y2/255.255.254.0 broadcast 82.149.x.y ipsec_setup: ...FreeS/WAN IPsec started ==> /var/log/auth.log <== pluto[18606]: added connection description "roadwarrior" pluto[18606]: listening for IKE messages pluto[18606]: adding interface ipsec0/eth0:2 82.149.x.y2 pluto[18606]: loading secrets from "/etc/ipsec.secrets" pluto[18606]: loaded private key file '/etc/ipsec.d/private/ ####
######################## Windows Client: ##########################
conn %default
authby=rsasig
keyingtries=0
conn roadwarrior
left=%any
right=82.149.x.y2
rightca="C=DE,S=bla,L=bla,O=bla,OU=bla,CN=CFREAK,E=cfreak@cfreak.de"
network=auto
auto=start
pfs=yes
conn roadwarrior-net
left=%any
right=82.149.x.y2
rightsubnet=192.168.0.0/255.255.0.0
rightca="C=DE,S=bla,L=bla,O=bla,OU=bla,CN=CFREAK,E=cfreak@cfreak.de"
network=auto
auto=start
pfs=yes
############ Connection roadwarrior:
MyTunnel : 192.168.1.10
MyNet : 192.168.1.10/255.255.255.255
PartnerTunnel: 82.149.x.y2
PartnerNet : 82.149.x.y2/255.255.255.255
CA (ID) : C=DE,S=bla,L=bla,O=bla,OU=bla,CN=CFREAK,E=cfreak@c...
PFS : y
Auto : start
Auth.Mode : MD5
Rekeying : 3600S/50000K
Activating policy...
Connection roadwarrior-net:
MyTunnel : 192.168.1.10
MyNet : 192.168.1.10/255.255.255.255
PartnerTunnel: 82.149.x.y2
PartnerNet : 192.168.0.0/255.255.0.0
CA (ID) : C=DE,S=bla,L=bla,O=bla,OU=bla,CN=CFREAK,E=cfreak@c...
PFS : y
Auto : start
Auth.Mode : MD5
Rekeying : 3600S/50000K
Activating policy...
########### Linux logs say: pluto[18606]: packet from 80.145.:500: received Vendor ID Payload; ASCII hash: \036+Qi\005\031\034}|\026|?5\007da pluto[18606]: packet from 80.145:500: initial Main Mode message received on 82.149.x.y2:500 but no connection has been authorized pluto[18606]: packet from 80.145.:500: received Vendor ID Payload; ASCII hash: \036+Qi\005\031\034}|\026|?5\007dapluto[18606]: packet from 80.145.:500: initial Main Mode message received on 82.149.x.y2:500 but no connection has been authorized pluto[18606]: packet from 80.145.:500: received Vendor ID Payload; ASCII hash: \036+Qi\005\031\034}|\026|?5\007da pluto[18606]: packet from 80.145.:500: initial Main Mode message received on 82.149.x.y2:500 but no connection has been authorized I added the <snip>.dyndns.info to Windows via msc. Thank you in advance, Best regards -- Frieder 'cfreak' Kundel mailto:cfreak@ckras.com _______________________________________________ FreeS/WAN Users mailing list users@lists.freeswan.org https://mj2.freeswan.org/cgi-bin/mj_wwwusrReceived on Thu Apr 29 14:48:45 2004 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:02:34 EDT |
||||||||||
|
|||||||||||