Skip to main content
afilice
New Member
June 9, 2017
Question

IPSEC VPN and Internal DHCP

  • June 9, 2017
  • 1 reply
  • 9538 views

I was trying to set up my IPSEC VPN profiles to pull IP from my centralized DHCP server with the assistance from the following article:  http://cookbook.fortinet....external-dhcp-service/

From the CLI I perform the following commands below:

config vpn ipsec phase2-interface     edit "MobileVPN-2"         set dhcp-ipsec enable

 

after entering the "set dhcp-ipsec enable" it errors out "Command failed Return code -61"

Is there anyway to pull IP Addresses from an internal DHCP for centralized management  with fortigate and IPSEC VPN ?

 

 

Fortigate 100D. Firmware 5.2.7

    1 reply

    afilice
    afiliceAuthor
    New Member
    June 9, 2017

    I did confirm it works on 100E's firmware v 5.4.1 build 5654.

    Turtle
    New Member
    January 30, 2018

    Same problem here.

    After entering the "set dhcp-ipsec enable" it gives error.

     

    FG60E 5.6.3

    Shiso
    New Member
    April 5, 2018

    I tried to change a mode config VPN to VPN with DHCP over IPSec and the command in phase 2 was not available. After I go to phase 1 and set mode config disable the command in phase 2 was available. conf vpn ipsec phase1-interface

    edit "dhcp_vpn"

    set mode-cfg disable

    end

     

    conf vpn ipsec phase2-interface

    edit "dhcp_vpn"

    set dhcp-ipsec enable

    end

    This was on Fortigate 90D with FortiOS 5.4.5

    I did not test the functionality yet. But I could use the command.

    I hope that helps.