Skip to main content
Zilitonas
Explorer
December 17, 2015
Solved

LT2TP/IPSec vpn does not work

  • December 17, 2015
  • 2 replies
  • 7073 views

Hi,

 

I have problem with Fortigate 100D (5.2.4) and lt2tp/ipsec. If  I connecting with the computer to a VPN and selected "Microsoft CHAP Version 2 (MS-CHAP v2)", then I get error. With "Unencrypted password (PAP) works perfectly. Why does not work with "Microsoft CHAP Version 2 (MS-CHAP v2)"?

 

 

    Best answer by ede_pfau

    hi,

    you may force the FGT to use MSCHAP by editing the config in the CLI:

    config system interface
        edit <interface_name>
            set l2tp-client enable # should already be enabled
            config l2tp-client-settings
                set auth-type {auto | chap | mschapv1 | mschapv2 | pap}
            end
        end
    end

    The default is "auto" which may not work for your configuration.

    2 replies

    ede_pfau
    SuperUser
    ede_pfauAnswer
    SuperUser
    December 17, 2015

    hi,

    you may force the FGT to use MSCHAP by editing the config in the CLI:

    config system interface
        edit <interface_name>
            set l2tp-client enable # should already be enabled
            config l2tp-client-settings
                set auth-type {auto | chap | mschapv1 | mschapv2 | pap}
            end
        end
    end

    The default is "auto" which may not work for your configuration.

    fjjaime
    New Member
    May 13, 2016

    Hi, 

     

    Sorry to jump in this conversation, but, did you finally config L2TP/IPSec with mschapv2 vpn?

     

    I have been digging and, in the same way than you, I only got it working with PAP.

     

    Thanks in advance

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!