Skip to content

jaba0x/cloudfront-for-fortigate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Amazon CloudFront address list generator for FortiGate Firewalls

Powered by AWS Cloud Computing + Powered by Fortinet

Description: Fetch ip ranges from official AWS source, filter and prepare for FortiGate firewall. Use with Python3!

Prerequisites:

pip install awsipranges
pip install requests

Usage guide:

python3 generate.py

or

python3 generate.py >> output.txt

Example:

jaba@M1 ~ % python3 generate.py
config firewall address 
edit CLOUDFRONT1 
set subnet 120.52.22.96/27 
end
config firewall addrgrp 
edit CLOUDFRONT 
select member CLOUDFRONT1 
end
config firewall address 
edit CLOUDFRONT2 
set subnet 205.251.249.0/24 
end
config firewall addrgrp 
edit CLOUDFRONT 
select member CLOUDFRONT2 
end
...

About

Amazon CloudFront address list generator for FortiGate Firewalls

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages