Skip to main content
stxstephen
New Member
December 5, 2013
Question

IPSec VPN Problem [Error: Remote IP must be set if IP is defined.]

  • December 5, 2013
  • 5 replies
  • 10326 views
Hello I have a problem with the IPSec VPN (Interface Mode) between 2 Fortigate Firewalls. Site A has FG 40C with 4.0 and site B has FG 110C with 5.0 version. All setup is completed except the network interface (System > Network > Interface). For FG40C in Site A, it has input field for remote ip (attached screenshot). But, FG 110C in site B, the screenshot showed that there is no remote ip input field. Also, completed the input and click Apply or OK. It shows the error message “Remote IP must be set if IP is defined.” Is there any location is provided the input field of remote ip for FG 110C verion 5? Thanks for any help.

    5 replies

    ede_pfau
    SuperUser
    SuperUser
    December 5, 2013
    There' s probably a CLI only option to set the remote IP address in FOS 5.x. But aside from this, do you really need the IP addresses on the tunnel interfaces? All of my VPN tunnels run without tunnel interface IP' s. In the ' Interface' section, it' s not about the public IP address but the ' LAN' address of the tunnel interface. edit:
    conf system interface     edit mytunnel        set remote-ip x.y.z.t
    quoting the v5 CLI Reference, pg. 567: " Enter an IP address for the remote end of a tunnel interface. If you want to use dynamic routing with the tunnel, or be able to ping the tunnel interface, you must specify an address for the remote end of the tunnel in remote-ip and an address for this end of the tunnel in ip. This is only available if type is tunnel."
    Maik
    New Member
    December 5, 2013
    i checked on a 800C with 5.0.3 200B with 5.0.4 310B with 5.0.5 In all 3 cases, the " remote IP" field is visible in the WebGui. I don' t have a 110C with OS5 by hand to check
    ede_pfau
    SuperUser
    SuperUser
    December 5, 2013
    I would have been surprised if the Remote IP field was NOT in the GUI, as long as you can set the tunnel IP at all. Browser issue - cache cleared? Which exact version of FOS 5.x are we talking about?
    stxstephen
    New Member
    December 12, 2013
    It is 110C with 5.0.0. Cleared the browser cache, there is also no Remote IP field in the GUI. Hence, I setup VPN tunnel without tunnel interface IP' s. It works. BTW, thanks all for your help.
    ede_pfau
    SuperUser
    SuperUser
    December 12, 2013
    Glad it works now. 100% of my VPN tunnels are unumbered, and of course they work. So your solution is perfectly OK. BTW, I' d upgrade soon. Let' s put it like this, each 5.0 patch resolves a LOT of issues. Currently at 5.0.5.
    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!