Skip to content

Instantly share code, notes, and snippets.

@kongou-ae
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kongou-ae/9894830 to your computer and use it in GitHub Desktop.
Save kongou-ae/9894830 to your computer and use it in GitHub Desktop.
FortiGate FW policy (json)
{
"config firewall policy": {
"13": {
"srcintf": "VLAN-200",
"dstintf": "wan1",
"srcaddr": "192.168.200.0/24",
"dstaddr": "all",
"action": "accept",
"utm-status": "enable",
"identity-based": "enable",
"nat": "enable",
"config identity-based-policy": {
"1": {
"schedule": "always",
"logtraffic": "enable",
"utm-status": "enable",
"groups": "FSSO_Guest_Users",
"service": "ANY",
"av-profile": "default",
"profile-protocol-options": "default"
},
"2": {
"schedule": "always",
"logtraffic": "enable",
"groups": "ssllocal_group",
"service": "ANY"
}
}
},
"14": {
"srcintf": "VLAN-2",
"dstintf": "wan1",
"srcaddr": "192.168.2.0/24 192.168.1.0/24",
"dstaddr": "all",
"action": "accept",
"schedule": "always",
"service": "ANY",
"utm-status": "enable",
"logtraffic": "enable",
"profile-protocol-options": "default",
"nat": "enable"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment