Skip to main content
seadave
New Member
Sep 29, 2017 5:14 PM UTC
Solved

Firewall Address - Edit CLI differs from GUI Config

Please see attached.  Running version 5.4.5.  I have a firewall FQDN configured.  I was able to edit a few by right click and choosing "Edit in CLI" (I needed to add the "set cache-ttl" setting).  Then I noticed that when I clicked on one that was configured as fqdn, it popped up as "set type ipmask".  See attached image.  Might want to fix this Fortinet.

    tanr
    tanrAnswer
    New Member
    Sep 29, 2017 6:18 PM UTC

    Maybe you're hitting the 32 character limit Fortinet has for FQDN? 

    Don't know for sure, but their central SNAT limits FQDN's to 32 characters (per http://help.fortinet.com/fgt/54/max-values/5-4-4/max-values.html) anyway...

    8 replies

    emnoc
    New Member
    Sep 29, 2017 5:53 PM UTC

    Unless my  eyes are bad or going bad,  that a new object and not a FQDN. What's exactly the issue?

     

    FWIW: a new object is always a ipmask untill you change the type to fqdn.

     

     

    Ken

     

    seadave
    seadaveAuthor
    New Member
    Sep 29, 2017 6:08 PM UTC

    Maybe I'm doing something wrong, but I'm clicking on an existing firewall address definition and choosing "Edit in CLI".  Notice how it is already named and with a UUID.  But the UUID does not match what is obtained via the SSH Putty session.  Also I note it is truncating the .com in the domain name in the GUI Console view.  See the two following screenshots.

    seadave
    seadaveAuthor
    New Member
    Sep 29, 2017 6:09 PM UTC

    Via SSH session.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT