【文件属性】:
文件名称:fortigate-scripts:在 Fortigate 中自动执行配置任务的脚本
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-09 01:07:46
Python
一堆 Fortigate 脚本
fgt-pubkey-upload.py
将您的公钥复制到 FortiGate 设备的工具
配置文件
FortiGate 设备配置文件。
变量:
device - IP 地址,如果没有设置,默认为: 192.168.1.99
user - 用户名,如果未设置,默认为: admin
pass - 密码,如果没有设置,默认为空
您可以使用 1 个简单命令配置多个设备:
./fgt-pubkey-upload.py -c config.cfg
配置两个 FortiGates 的示例文件:
[FortiGate1]
device: 192.168.111.105
[FortiGate2]
device: 192.168.111.106
user: wujtruj
pass: 123456
开关
您可以使用配置文件中的开关调用 scipt:
-d
【文件预览】:
fortigate-scripts-master
----.gitignore(17B)
----LICENSE(18KB)
----README.md(2KB)
----fgt-pubkey-upload.py(4KB)
----fgt-extended-utm-log.py(10KB)