Skip to content

Rancid support for Fortinet devices using the scp interface

Notifications You must be signed in to change notification settings

schweikert/fnrancid-scp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

fnrancid-scp

Rancid support for Fortinet devices using the scp interface.

License: same as whatever license rancid version 3 uses

Installation

  1. Enable scp on your Fortinet devices:

    config system global set admin-scp enable end

  2. Copy the 'fnrancid-scp' script to the location where the other rancid scripts are located. On FreeBSD it is /usr/local/libexec/rancid.

  3. Make sure that it is executable:

    chmod +x /usr/local/libexec/rancid/fnrancid-scp

  4. Edit the file rancid.types.conf (located in /etc/rancid or /usr/local/etc/rancid) and add the following line:

    fortiscp;script;fnrancid-scp

  5. Make sure that you have user and password stored in ~rancid/.cloginrc:

    add user myhostname.mydomain {admin} add password myhostname.mydomain {mypassword}

    (note that hostname matching with wildcards doesn't work here, so put your full hostname in .cloginrc)

  6. Add your devices to router.db and use the type 'fortiscp'. For example:

    myhostname.mydomain;fortiscp;up

About

Rancid support for Fortinet devices using the scp interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages