KEMBAR78
New Script Cat | PDF
0% found this document useful (0 votes)
12 views2 pages

New Script Cat

documento de script basico

Uploaded by

Smith 47
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

New Script Cat

documento de script basico

Uploaded by

Smith 47
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

SCRIPT _ CAT

config system interface


edit "CAT"
set vdom "root"
set ip 192.168.34.1 255.255.255.0
set allowaccess ping
set device-identification enable
set role lan
set color 19
set interface "fortilink"
set vlanid 34
next
end

config system dns-server


edit "CAT"
set mode forward-only
next
end

config firewall address


edit "ADDR_CAT01"
set subnet 75.2.7.113 255.255.255.255
next
edit "ADDR_CAT02"
set subnet 99.83.169.240 255.255.255.255
next
edit "ADDR_CAT03"
set subnet 13.248.182.90 255.255.255.255
next
edit "ADDR_CAT04"
set subnet 76.223.40.216 255.255.255.255
next
edit "ADDR_CAT05"
set subnet 104.214.119.85 255.255.255.255
next
edit "ADDR_CAT06"
set subnet 23.96.237.118 255.255.255.255
next
edit "ADDR_CAT07"
set subnet 208.72.8.186 255.255.255.255
next
edit "ADDR_CAT08"
set subnet 170.248.50.32 255.255.255.255
next
end

config firewall addrgrp


edit "G_CAT"
set member "ADDR_CAT01" "ADDR_CAT02" "ADDR_CAT03" "ADDR_CAT04" "ADDR_CAT05"
"ADDR_CAT06" "ADDR_CAT07" "ADDR_CAT08" "ADDR_CAT09"
next
end

config firewall service custom


edit "TCP_5012"
set tcp-portrange 5012
next
end

config firewall service group


edit "G_CAT"
set member "HTTPS" "NTP" "TCP_5012"
next
end

config firewall policy


edit 0
set name "CAT"
set srcintf "CAT"
set dstintf "virtual-wan-link"
set action accept
set srcaddr "CAT address"
set dstaddr "G_CAT"
set schedule "always"
set service "G_CAT"
set logtraffic all
set nat enable
next
end

You might also like