Beste,
Ik probeer een VPN verbinding op te zetten tussen een Cisco 1801 router en een Juniper SSG 320 M firewall.
De tunnel komt echter niet op.

Ik heb minder ervaring met Juniper.
De cisco configuratie:
niet relevante code heb ik er tussenuit gelaten
debugging
Juniper config:
Op de Juniper gebruik ik een policy based VPN
De VPN configuratie


De configuratie van de policies:
van Trust naar Untrust

van Untrust naar Trust

debug informatie
extra info
IKE: Removed Phase 2 SAs after receiving a notification message.
2012-12-14 19:18:48 info IKE 81.82.229.**: Received a notification message for DOI 1 14 NO-PROPOSAL-CHOSEN.
2012-12-14 19:18:48 info IKE 81.82.229.** Phase 2: Initiated negotiations.
2012-12-14 19:18:34 info IKE: Removed Phase 2 SAs after receiving a notification message.
2012-12-14 19:18:34 info IKE 81.82.229.**: Received a notification message for DOI 1 14 NO-PROPOSAL-CHOSEN.
2012-12-14 19:18:34 info IKE 81.82.229.** Phase 2: Initiated negotiations.
Zien jullie waar het ergens de mist in gaat?
Ik probeer een VPN verbinding op te zetten tussen een Cisco 1801 router en een Juniper SSG 320 M firewall.
De tunnel komt echter niet op.

Ik heb minder ervaring met Juniper.
De cisco configuratie:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| crypto isakmp policy 5 encr aes authentication pre-share group 2 crypto isakmp key <verwijderd> address 81.246.52.** no-xauth ! ! crypto ipsec transform-set ESP-AES128-SHA esp-aes esp-sha-hmac ! crypto map CRYPTO_MAP 10 ipsec-isakmp set peer 81.246.52.** set transform-set ESP-AES128-SHA match address VPN interface Vlan1 description Intern LAN$ES_LAN$ ip address 10.10.10.1 255.255.255.0 no ip redirects no ip unreachables no ip proxy-arp ip nat inside ip virtual-reassembly ip route-cache same-interface ip tcp adjust-mss 1452 crypto map CRYPTO_MAP ip access-list extended VPN permit ip 10.10.10.0 0.0.0.255 193.100.100.0 0.0.0.255 permit ip 81.82.229.75 0.0.0.128 81.246.52.42 0.0.0.128 |
niet relevante code heb ik er tussenuit gelaten
debugging
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
| Cisco1801#show crypto isakmp sa IPv4 Crypto ISAKMP SA dst src state conn-id slot status 81.82.229.** 81.246.52.** QM_IDLE 2004 0 ACTIVE IPv6 Crypto ISAKMP SA Cisco1801#show crypto ipsec sa interface: Vlan1 Crypto map tag: CRYPTO_MAP, local addr 10.10.10.1 protected vrf: (none) local ident (addr/mask/prot/port): (10.10.10.0/255.255.255.0/0/0) remote ident (addr/mask/prot/port): (81.246.52.42/255.255.255.127/0/0) current_peer 81.246.52.42 port 500 PERMIT, flags={origin_is_acl,} #pkts encaps: 0, #pkts encrypt: 0, #pkts digest: 0 #pkts decaps: 0, #pkts decrypt: 0, #pkts verify: 0 #pkts compressed: 0, #pkts decompressed: 0 #pkts not compressed: 0, #pkts compr. failed: 0 #pkts not decompressed: 0, #pkts decompress failed: 0 #send errors 0, #recv errors 0 local crypto endpt.: 10.10.10.1, remote crypto endpt.: 81.246.52.** path mtu 1500, ip mtu 1500, ip mtu idb Vlan1 current outbound spi: 0x0(0) inbound esp sas: inbound ah sas: debug crypto isakmp *Dec 14 17:43:39.198 UTC: ISAKMP (0:2004): received packet from 81.246.52.** dport 500 sport 500 Global (R) QM_IDLE 000301: *Dec 14 17:43:39.198 UTC: ISAKMP: set new node -15221771 to QM_IDLE 000302: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004): processing HASH payload. message ID = -15221771 000303: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004): processing SA payload. message ID = -15221771 000304: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004):Checking IPSec proposal 1 000305: *Dec 14 17:43:39.198 UTC: ISAKMP: transform 1, ESP_AES 000306: *Dec 14 17:43:39.198 UTC: ISAKMP: attributes in transform: 000307: *Dec 14 17:43:39.198 UTC: ISAKMP: SA life type in seconds 000308: *Dec 14 17:43:39.198 UTC: ISAKMP: SA life duration (VPI) of 0x0 0x0 0xE 0x10 000309: *Dec 14 17:43:39.198 UTC: ISAKMP: encaps is 1 (Tunnel) 000310: *Dec 14 17:43:39.198 UTC: ISAKMP: authenticator is HMAC-SHA 000311: *Dec 14 17:43:39.198 UTC: ISAKMP: group is 2 000312: *Dec 14 17:43:39.198 UTC: ISAKMP: key length is 128 000313: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004):atts are acceptable. 000314: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004): IPSec policy invalidated proposal with error 8 000315: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004): phase 2 SA policy not acceptable! (local 81.82.229.75 remote 81.246.52.42) 000316: *Dec 14 17:43:39.198 UTC: ISAKMP: set new node 152758481 to QM_IDLE 000317: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004):Sending NOTIFY PROPOSAL_NOT_CHOSEN protocol 3 spi 2215108240, message ID = 152758481 000318: *Dec 14 17:43:39.198 UTC: ISAKMP:(2004): sending packet to 81.246.52.42 my_port 500 peer_port 500 (R) QM_IDLE 000319: *Dec 14 17:43:39.202 UTC: ISAKMP:(2004):Sending an IKE IPv4 Packet. 000320: *Dec 14 17:43:39.202 UTC: ISAKMP:(2004):purging node 152758481 000321: *Dec 14 17:43:39.202 UTC: ISAKMP:(2004):deleting node -15221771 error TRUE reason "QM rejected" 000322: *Dec 14 17:43:39.202 UTC: ISAKMP:(2004):Node -15221771, Input = IKE_MESG_FROM_PEER, IKE_QM_EXCH 000323: *Dec 14 17:43:39.202 UTC: ISAKMP:(2004):Old State = IKE_QM_READY New State = IKE_QM_READY 000324: *Dec 14 17:43:53.942 UTC: ISAKMP (0:2004): received packet from 81.246.52.** dport 500 sport 500 Global (R) QM_IDLE 000325: *Dec 14 17:43:53.942 UTC: ISAKMP: set new node -30244431 to QM_IDLE 000326: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004): processing HASH payload. message ID = -30244431 000327: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004): processing SA payload. message ID = -30244431 000328: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):Checking IPSec proposal 1 000329: *Dec 14 17:43:53.946 UTC: ISAKMP: transform 1, ESP_AES 000330: *Dec 14 17:43:53.946 UTC: ISAKMP: attributes in transform: 000331: *Dec 14 17:43:53.946 UTC: ISAKMP: SA life type in seconds 000332: *Dec 14 17:43:53.946 UTC: ISAKMP: SA life duration (VPI) of 0x0 0x0 0xE 0x10 000333: *Dec 14 17:43:53.946 UTC: ISAKMP: encaps is 1 (Tunnel) 000334: *Dec 14 17:43:53.946 UTC: ISAKMP: authenticator is HMAC-SHA 000335: *Dec 14 17:43:53.946 UTC: ISAKMP: group is 2 000336: *Dec 14 17:43:53.946 UTC: ISAKMP: key length is 128 000337: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):atts are acceptable. 000338: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004): IPSec policy invalidated proposal with error 8 000339: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004): phase 2 SA policy not acceptable! (local 81.82.229.75 remote 81.246.52.42) 000340: *Dec 14 17:43:53.946 UTC: ISAKMP: set new node 1639010863 to QM_IDLE 000341: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):Sending NOTIFY PROPOSAL_NOT_CHOSEN protocol 3 spi 2215108240, message ID = 1639010863 000342: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004): sending packet to 81.246.52.42 my_port 500 peer_port 500 (R) QM_IDLE 000343: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):Sending an IKE IPv4 Packet. 000344: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):purging node 1639010863 000345: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):deleting node -30244431 error TRUE reason "QM rejected" 000346: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):Node -30244431, Input = IKE_MESG_FROM_PEER, IKE_QM_EXCH 000347: *Dec 14 17:43:53.946 UTC: ISAKMP:(2004):Old State = IKE_QM_READY New State = IKE_QM_READY |
Juniper config:
Op de Juniper gebruik ik een policy based VPN
De VPN configuratie
De configuratie van de policies:
van Trust naar Untrust
van Untrust naar Trust

debug informatie
code:
1
2
3
4
5
| get sa 0000001e< 81.82.229.75 500 esp:a256/sha1 00000000 expir unlim I/I 85 0 0000001e> 81.82.229.75 500 esp:a256/sha1 00000000 expir unlim I/I 84 0 |
extra info
IKE: Removed Phase 2 SAs after receiving a notification message.
2012-12-14 19:18:48 info IKE 81.82.229.**: Received a notification message for DOI 1 14 NO-PROPOSAL-CHOSEN.
2012-12-14 19:18:48 info IKE 81.82.229.** Phase 2: Initiated negotiations.
2012-12-14 19:18:34 info IKE: Removed Phase 2 SAs after receiving a notification message.
2012-12-14 19:18:34 info IKE 81.82.229.**: Received a notification message for DOI 1 14 NO-PROPOSAL-CHOSEN.
2012-12-14 19:18:34 info IKE 81.82.229.** Phase 2: Initiated negotiations.
Zien jullie waar het ergens de mist in gaat?