Problem bei Einrichtung Cisco VPN Client an Cisco 892

  • Hallo Zusammen,

    ich habe folgendes Problem:

    Zwei Standorte sind per statischem VPN miteinander verbunden. Jetzt soll man von außen per Cisco VPN-Client ebenfalls eine Verbindung herstellen können.
    Die Konfig ist soweit programmiert, die Verbindung kann hergestellt werden, aber ich kann z.B. den Server im LAN nicht erreichen.
    Wenn ich den Server pinge (192.168.2.100) bekomme ich eine Antwort von der externen IP des VDSL-Anschlusses. Andere IPs lassen sich nicht pingen.

    Ich hoffe jemand kann mir helfen den Fehler bzw. fehlenden Befehl zu finden.

    Aktuelle Konfig des Hauptstandortes:

    Ziel-Netz: 192.168.2.0
    VPN-Netz: 192.168.31.0

    RTR-STANDORT-HH#show run
    Building configuration...

    Current configuration : 6522 bytes
    !
    ! Last configuration change at 09:37:52 PCTime Tue Feb 26 2013 by hacker
    ! NVRAM config last updated at 08:31:18 PCTime Tue Feb 26 2013 by admin
    ! NVRAM config last updated at 08:31:18 PCTime Tue Feb 26 2013 by admin
    version 15.1
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname RTR-STANDORT-HH
    !
    boot-start-marker
    boot-end-marker
    !
    !
    logging buffered 52000
    enable secret 4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    !
    aaa new-model
    !
    !
    aaa authentication login LocalUserAuthen local
    aaa authorization network groupauthor local
    !
    !
    !
    !
    !
    aaa session-id common
    !
    clock timezone PCTime 1 0
    clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00
    crypto pki token default removal timeout 0
    !
    crypto pki trustpoint TP-self-signed-3470746512
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-3470746512
    revocation-check none
    rsakeypair TP-self-signed-3470746512
    !
    !
    crypto pki certificate chain TP-self-signed-3470746512
    certificate self-signed 01
    3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
    31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
    69666963 6174652D 33343730 37343635 3132301E 170D3132 31323135 30373137
    32345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
    4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 34373037
    34363531 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
    8100A152 C0031D4D 886C0E7D FF9EC87D 44CABA46 CB686B57 B7CDC4F1 87C12275
    BEA0CD3B BABFB523 9FE00B62 8DA0B468 DCDE43FA 411245E4 5F68E3F5 CE44AB88
    75A843EB A23385C2 C1FD4948 E4E4CC1E 4E638BCB 6724C4AE 1D42A4E0 7F86A173
    32556A09 54DAF601 F56715ED B1D039CA 26C9D915 A9ED88A9 1EF9DAE1 9FA84211
    A5470203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
    551D2304 18301680 148F93B1 E989437A 89A82623 1F372186 C37AC2F5 AC301D06
    03551D0E 04160414 8F93B1E9 89437A89 A826231F 372186C3 7AC2F5AC 300D0609
    2A864886 F70D0101 05050003 81810072 5223F386 8B593686 2577471A 2204710A
    58729F9F 31476CE0 CF3BE437 2CB63620 22A0558F 4F7420DB 434D77AC C309E862
    6D4A4FF5 85F84169 45CC12C4 4D880D67 51D106F1 01D4238F 3CB30E47 6561965F
    633A1A77 BB22BB9B 352B08D8 7597E5C4 46AD75F2 A3F2E9D9 319770FF B208210C
    98849957 3C2C008F E3413A26 933942
    quit
    ip source-route
    !
    !
    !
    !
    !
    ip cef
    ip domain name STANDORT.de
    ip name-server 8.8.8.8
    no ipv6 cef
    !
    !
    !
    !
    multilink bundle-name authenticated
    !
    !
    !
    !
    !
    !
    license udi pid CISCO892-K9 sn yyyyyyyyyyyyyyyy
    !
    !
    username admin privilege 15 password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxx
    username user1 privilege 15 password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxx
    username user2 privilege 15 password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxx
    username user3 password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxx
    !
    !
    !
    !
    !
    !
    crypto isakmp policy 10
    encr 3des
    authentication pre-share
    group 2
    crypto isakmp key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx address xxx.xxx.xxx.xxx no-xauth
    crypto isakmp keepalive 10 periodic
    crypto isakmp nat keepalive 20
    crypto isakmp client configuration address-pool local vpn-dynamic-pool
    !
    crypto isakmp client configuration group VPN-Client
    key xxxxxxxxxxxxxxxxxxxxx
    dns 192.168.2.100
    domain DOMAIN
    pool vpn-dynamic-pool
    acl 108
    save-password
    max-logins 3
    netmask 255.255.255.0
    crypto isakmp profile VPNclient
    description VPN Client Profil
    match identity group VPN-Client
    client authentication list LocalUserAuthen
    isakmp authorization list groupauthor
    client configuration address respond
    crypto isakmp profile VPNClient
    ! This profile is incomplete (no match identity statement)
    client configuration address initiate
    !
    !
    crypto ipsec transform-set aesset esp-aes esp-sha-hmac
    crypto ipsec transform-set VPN-CLIENT-SET esp-aes esp-sha-hmac
    !
    crypto dynamic-map dynmap 65535
    set transform-set VPN-CLIENT-SET
    set isakmp-profile VPNclient
    !
    !
    crypto map vpn 10 ipsec-isakmp
    set peer xxx.xxx.xxx.xxx
    set security-association lifetime seconds 28800
    set transform-set aesset
    match address toCrypt
    qos pre-classify
    crypto map vpn 65535 ipsec-isakmp dynamic dynmap
    !
    !
    !
    !
    !
    interface BRI0
    no ip address
    encapsulation hdlc
    shutdown
    isdn termination multidrop
    !
    interface FastEthernet0
    no ip address
    !
    interface FastEthernet1
    no ip address
    !
    interface FastEthernet2
    no ip address
    !
    interface FastEthernet3
    no ip address
    !
    interface FastEthernet4
    no ip address
    !
    interface FastEthernet5
    no ip address
    !
    interface FastEthernet6
    no ip address
    !
    interface FastEthernet7
    switchport access vlan 7
    switchport mode trunk
    no ip address
    !
    interface FastEthernet8
    no ip address
    shutdown
    duplex auto
    speed auto
    !
    interface GigabitEthernet0
    no ip address
    duplex auto
    speed auto
    !
    interface Vlan1
    description Inside-Interface
    ip address 192.168.2.1 255.255.255.0
    ip nat inside
    ip virtual-reassembly in
    !
    interface Vlan7
    description WAN-VDSL
    no ip address
    pppoe-client dial-pool-number 1
    !
    interface Dialer0
    mtu 1492
    ip address negotiated
    ip nat outside
    ip virtual-reassembly in
    encapsulation ppp
    ip tcp adjust-mss 1442
    dialer pool 1
    dialer-group 1
    ppp authentication chap pap callin
    ppp chap hostname feste-ip3/xxxxxxxxxxxxxxxxxx@t-online-com.de
    ppp chap password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    ppp pap sent-username feste-ip3/xxxxxxxxxxxxxxxx@t-online-com.de password 7 xxxxxxxxxxxxxxxxxxxxxxxx
    no cdp enable
    crypto map vpn
    !
    ip local pool vpn-dynamic-pool 192.168.31.200 192.168.31.210
    ip forward-protocol nd
    !
    !
    ip http server
    ip http authentication local
    ip http secure-server
    ip http timeout-policy idle 60 life 86400 requests 10000
    ip nat inside source list 100 interface Dialer0 overload
    ip route 0.0.0.0 0.0.0.0 Dialer0
    !
    ip access-list extended toCrypt
    permit ip 192.168.2.0 0.0.0.255 192.168.0.0 0.0.0.255
    !
    ip sla 10
    tcp-connect xxx.xxx.xxx.xxx 23 control disable
    timeout 6000
    frequency 10
    ip sla schedule 10 life forever start-time now
    access-list 2 permit 192.168.2.0 0.0.0.255
    access-list 100 deny ip 192.168.2.0 0.0.0.255 192.168.0.0 0.0.0.255
    access-list 100 permit ip 192.168.2.0 0.0.0.255 any
    access-list 100 deny ip 192.168.2.0 0.0.0.255 192.168.31.0 0.0.0.255
    access-list 108 permit ip 192.168.2.0 0.0.0.255 192.168.31.0 0.0.0.255
    dialer-list 1 protocol ip permit
    no cdp run
    !
    !
    !
    !
    !
    !
    !
    !
    control-plane
    !
    !
    !
    !
    mgcp profile default
    !
    !
    !
    !
    !
    line con 0
    line aux 0
    line vty 0 4
    exec-timeout 60 0
    privilege level 15
    logging synchronous
    transport input ssh
    line vty 5 15
    exec-timeout 60 0
    privilege level 15
    logging synchronous
    transport input telnet ssh
    !
    end

    Gruß
    Neokortex :)

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress, WoltLab & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Inzwischen habe ich den Fehler gefunden und möchte die Lösung niemandem vorendhalten :)

    Der Zugriff aus dem VPN Client-Netz wird nicht korrekt genattet, weil der deny-Befehl für dieses (192.168.31.0) nach dem permit any Befehl steht und somit ignoriert wird.

    Falsch:
    access-list 100 deny ip 192.168.2.0 0.0.0.255 192.168.0.0 0.0.0.255
    access-list 100 permit ip 192.168.2.0 0.0.0.255 any
    access-list 100 deny ip 192.168.2.0 0.0.0.255 192.168.31.0 0.0.0.255

    Richtig:
    access-list 100 deny ip 192.168.2.0 0.0.0.255 192.168.0.0 0.0.0.255
    access-list 100 deny ip 192.168.2.0 0.0.0.255 192.168.31.0 0.0.0.255
    access-list 100 permit ip 192.168.2.0 0.0.0.255 any

    Gruß
    Neokortex

    Gruß
    Neokortex :)

  • HI,

    das Problem war unabhänging vom VPN-Client; der Fehler lag in der Konfiguration des Routers.
    Benutzt habe ich den Cisco VPN Client v5.

    Gruß
    Neokortex :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!