• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Cisco PIX disconnect issue.

Scheduled Pinned Locked Moved IPsec
12 Posts 4 Posters 10.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    snowspeeder
    last edited by May 13, 2008, 1:53 PM

    Still no replies from anyone but I am still attempting to help myself so here is what I'm doing and here are my results.

    One of the trunks that keeps going down is a cisco PIX. So I remove the 86400 lifetime from SA 2. and kept group on 2 "I also tried off".

    I get the exact same results.

    I will try tonight adding the lifetime back and removing the first lifetime.

    1 Reply Last reply Reply Quote 0
    • H
      heiko
      last edited by May 13, 2008, 2:21 PM

      Hello,

      Racoon really doesn’t want to recieve a FQDN when it’s trying to create a connection with a shared key.
      Make sure the Cisco has the line

      • isakmp identity address in it’s config.

      Don’t forget to set your DH and PFS number at the same number as the Cisco.
      In the past i have had problems between pfsense and "cisco´s" with DPD.

      Regards
      Heiko

      1 Reply Last reply Reply Quote 0
      • S
        snowspeeder
        last edited by May 14, 2008, 1:44 AM

        I already do. Here is the config of one of my PIX's.

        Building configuration…
        : Saved
        :
        PIX Version 6.3(4)
        interface ethernet0 auto
        interface ethernet1 100full
        nameif ethernet0 outside security0
        nameif ethernet1 inside security100
        enable password lAUX2PI8tpE7r9bA encrypted
        passwd lAUX2PI8tpE7r9bA encrypted
        hostname pixcat
        domain-name ANY.COM
        fixup protocol dns maximum-length 512
        fixup protocol ftp 21
        fixup protocol h323 h225 1720
        fixup protocol h323 ras 1718-1719
        fixup protocol http 80
        fixup protocol rsh 514
        fixup protocol rtsp 554
        fixup protocol sip 5060
        fixup protocol sip udp 5060
        fixup protocol skinny 2000
        fixup protocol smtp 25
        fixup protocol sqlnet 1521
        fixup protocol tftp 69
        names
        name 192.168.145.0 VPN_Client
        name 192.0.1.0 Lexington
        object-group service port-RTP-tcp tcp
          port-object range 10000 20000
        object-group service port-RTP-udp udp
          port-object range 10000 20000
        object-group service port-SIP-tcp tcp
          port-object range 5004 5082
        object-group service port-SIP-udp udp
          port-object range 5004 5082
        access-list outside_access_in permit icmp any any echo-reply
        access-list outside_access_in permit ip host Clark any
        access-list outside_access_in permit tcp any any eq 10000
        access-list outside_access_in permit udp any any eq 10000
        access-list inside_outbound_nat0_acl permit ip 192.168.6.0 255.255.255.0 Lexington 255.255.255.0
        access-list inside_outbound_nat0_acl permit ip 192.168.6.0 255.255.255.0 VPN_Client 255.255.255.0
        access-list inside_outbound_nat0_acl permit ip 192.168.6.0 255.255.255.0 192.168.1.0 255.255.255.0
        access-list outside_cryptomap_21 permit ip 192.168.6.0 255.255.255.0 Lexington 255.255.255.0
        access-list outside_cryptomap_21 permit ip 192.168.6.0 255.255.255.0 192.168.1.0 255.255.255.0
        access-list MyVoip permit tcp host 192.168.6.164 host X.X.X.X1 object-group port-RTP-tcp
        access-list MyVoip permit tcp host 192.168.6.164 host X.X.X.X1 object-group port-SIP-tcp
        access-list MyVoip permit udp host 192.168.6.164 host X.X.X.X1 object-group port-RTP-udp
        access-list MyVoip permit udp host 192.168.6.164 host X.X.X.X1 object-group port-SIP-udp
        access-list MyVoip permit tcp host 192.168.6.164 host X.X.X.X1 eq 2727
        pager lines 24
        mtu outside 1500
        mtu inside 1500
        ip address outside pppoe setroute
        ip address inside 192.168.6.1 255.255.255.0
        ip audit info action alarm
        ip audit attack action alarm
        ip local pool vpnpool 192.168.145.1-192.168.145.5 mask 255.255.255.0
        pdm location Lexington 255.255.255.0 outside
        pdm location VPN_Client 255.255.255.0 outside
        pdm location Clark 255.255.255.255 outside
        pdm location 192.168.4.154 255.255.255.255 inside
        pdm location 192.168.6.156 255.255.255.255 inside
        pdm location 192.168.1.0 255.255.255.0 outside
        pdm location 192.168.6.164 255.255.255.255 outside
        pdm location 192.168.1.0 255.255.255.0 inside
        pdm logging informational 100
        pdm history enable
        arp timeout 14400
        global (outside) 1 interface
        nat (inside) 0 access-list inside_outbound_nat0_acl
        nat (inside) 1 0.0.0.0 0.0.0.0 0 0
        static (inside,outside) tcp interface 10000 192.168.6.156 10000 netmask 255.255.255.255 0 0
        static (inside,outside) udp interface 10000 192.168.6.156 10000 netmask 255.255.255.255 0 0
        access-group MyVoip in interface outside
        timeout xlate 0:05:00
        timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
        timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
        timeout uauth 0:05:00 absolute
        aaa-server TACACS+ protocol tacacs+
        aaa-server TACACS+ max-failed-attempts 3
        aaa-server TACACS+ deadtime 10
        aaa-server RADIUS protocol radius
        aaa-server RADIUS max-failed-attempts 3
        aaa-server RADIUS deadtime 10
        aaa-server LOCAL protocol local
        http server enable
        http 192.168.6.0 255.255.255.0 inside
        no snmp-server location
        no snmp-server contact
        snmp-server community public
        no snmp-server enable traps
        floodguard enable
        sysopt connection permit-ipsec
        crypto ipsec transform-set myset esp-3des esp-md5-hmac
        crypto dynamic-map outside_dyn_map 10 set transform-set myset
        crypto map outside_map 21 ipsec-isakmp
        crypto map outside_map 21 match address outside_cryptomap_21
        crypto map outside_map 21 set peer x.x.x.x
        crypto map outside_map 21 set transform-set myset
        crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
        crypto map outside_map interface outside
        isakmp enable outside
        isakmp key ******** address x.x.x.x netmask 255.255.255.255 no-xauth no-config-mode
        isakmp identity address
        isakmp nat-traversal 20
        isakmp policy 10 authentication pre-share
        isakmp policy 10 encryption 3des
        isakmp policy 10 hash md5
        isakmp policy 10 group 2
        isakmp policy 10 lifetime 86400
        vpngroup eavpn1 address-pool vpnpool
        vpngroup eavpn1 dns-server 192.0.1.31
        vpngroup eavpn1 wins-server 192.0.1.31
        vpngroup eavpn1 default-domain any.com
        vpngroup eavpn1 idle-time 1800
        vpngroup eavpn1 password ********
        telnet 0.0.0.0 0.0.0.0 outside
        telnet 192.168.6.0 255.255.255.0 inside
        telnet timeout 5
        ssh Clark 255.255.255.255 outside
        ssh 0.0.0.0 0.0.0.0 outside
        ssh 0.0.0.0 0.0.0.0 inside
        ssh timeout 5
        management-access inside
        console timeout 0
        vpdn group PPPOEX request dialout pppoe
        vpdn group PPPOEX localname eliteky
        vpdn group PPPOEX ppp authentication pap
        vpdn username eliteky password *********
        dhcpd address 192.168.6.30-192.168.6.50 inside
        dhcpd dns 192.168.1.3
        dhcpd wins 192.0.1.31
        dhcpd lease 3600
        dhcpd ping_timeout 750
        dhcpd auto_config outside
        dhcpd enable inside
        terminal width 80
        Cryptochecksum:485a43c0741d54b44b74016ab728e644
        : end
        [OK]

        1 Reply Last reply Reply Quote 0
        • H
          heiko
          last edited by May 14, 2008, 8:20 AM May 14, 2008, 8:16 AM

          can you post your ipsec tunnel config from pfsense-side, are both sides static?

          racoon: ERROR: not acceptable Identity Protection mode –> maybe an MD5 or SHA problem in your config?

          1 Reply Last reply Reply Quote 0
          • S
            snowspeeder
            last edited by May 14, 2008, 11:48 AM

            Heres the config of my tunnel.

            config.JPG
            config.JPG_thumb

            1 Reply Last reply Reply Quote 0
            • H
              heiko
              last edited by May 14, 2008, 12:12 PM

              it looks OK, why do you choose "aggressive" mode and not main mode, did you try for phase 1 a lifetime "28800" and phase 2 "86400"?
              Do you have tested it with SHA not MD5 and what errors shows the pix log?

              1 Reply Last reply Reply Quote 0
              • S
                snowspeeder
                last edited by May 14, 2008, 3:15 PM

                I choose all of the following because that is what was required by the monowall instructions.

                1 Reply Last reply Reply Quote 0
                • H
                  heiko
                  last edited by May 14, 2008, 7:25 PM May 14, 2008, 7:23 PM

                  If you have on both sides static ip´s please test this as the  last slight hope, sorry but I haven´t a pix at the moment to duplicate your test

                  1 Reply Last reply Reply Quote 0
                  • dotdashD
                    dotdash
                    last edited by May 14, 2008, 10:42 PM

                    FWIW, I've had success connecting to PIX's without using no-xauth and no-config-mode
                    eg-
                    isakmp key ******** address x.x.x.x netmask 255.255.255.255

                    I also didn't have
                    isakmp identity address
                    isakmp nat-traversal 20
                    in my config. Otherwise similar- 6.3(5) on a 506

                    1 Reply Last reply Reply Quote 0
                    • D
                      Dzus
                      last edited by Jul 15, 2008, 12:41 PM

                      I've found a confirmation of what heiko said about the identification mode with a preshared key, in the source code
                      ipsec_doi.c
                      /* In main mode with pre-shared key, only address type can be used. */

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received