IPsec konfiguracja Linux ---- Windows XP Multi Clients

Konfiguracja serwerów, usług, itp.
szakal_kp
Posty: 18
Rejestracja: 22 marca 2007, 23:30

IPsec konfiguracja Linux ---- Windows XP Multi Clients

Post autor: szakal_kp »

Mam problem z konfiguracja ipsec z implementacja openswan.

Moj config

Kod: Zaznacz cały

# /etc/ipsec.conf - Openswan IPsec configuration file
# RCSID $Id: ipsec.conf.in,v 1.15.2.4 2006/07/11 16:17:53 paul Exp $

# This file:  /usr/share/doc/openswan/ipsec.conf-sample
#
# Manual:     ipsec.conf.5


version 2.0     # conforms to second version of ipsec.conf specification

# basic configuration
config setup
        # plutodebug / klipsdebug = "all", "none" or a combation from below:
        # "raw crypt parsing emitting control klips pfkey natt x509 private"
        # eg:
        # plutodebug="control parsing"
        #
        # Only enable klipsdebug=all if you are a developer
        #
        # NAT-TRAVERSAL support, see README.NAT-Traversal
        nat_traversal=yes
        # virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
        #
        # enable this if you see "failed to find any available worker"
        nhelpers=0

conn NAT-vpn
        rightsubnet=vhost:%priv
       
        #
        # Configuration for one user with any type of IPsec/L2TP client
        # including the updated Windows 2000/XP (MS KB Q818043), but
        # excluding the non-updated Windows 2000/XP.
        #
        #
        # Use a Preshared Key. Disable Perfect Forward Secrecy.
        #
        # PreSharedSecret needs to be specified in /etc/ipsec.secrets as
        # YourIPAddress  %any: "sharedsecret"
        authby=secret
        pfs=no
        auto=add
        keyingtries=3
        # we cannot rekey for %any, let client rekey
        rekey=no
        type=transport
        #
        left=83.13.XXX.XXX
        # or you can use: left=YourIPAddress
        #
        # For updated Windows 2000/XP clients,
        # to support old clients as well, use leftprotoport=17/%any
        leftprotoport=17/1701
        #
        # The remote user.
        #
        right=%any
        rightprotoport=17/1701
Po wklepaniu:

/etc/init.d/ipsec start
ipsec auto --add NAT-vpn
ipsec auto --up NAT-vpn

wysakuje komunikat:
022 "NAT-vpn": We cannot identify ourselves with either end of this connection.

Jakies sugestie może jakis howto jakto skonfigurowac?
ODPOWIEDZ