Creating policy packages and firewall policies
|
|
The following policies are provided to allow traffic to flow between branches and hub. They require further security configuration to secure the communication. |
Following is a summary of how to create the policy package:
-
Configure interface mapping for LAN. See Configure interface mapping for LAN.
- Create a policy package for branch devices. See Configure the branch policy package and policies.
- Create a policy package for the hub device. See Configuring the Hub policy package and policies.
Configure interface mapping for LAN
Start by creating an interface mapping to map ‘port3’ to LAN. While you can use port3 in policies, creating this mapping makes the policy purpose more transparent. It also allows for different interfaces to be referenced as LAN.
To configure interface mapping for LAN:
-
Navigate to Policy & Objects > Normalized Interface.
-
Use the search field in the top right to search for port3.
-
Edit the port3 mapping by double-clicking on it.
-
Expand Per-Platform Mapping, and search within this menu for FortiGate-VM64-KVM.

-
Delete the entry and click OK to save.
-
Remaining in the Normalized Interface menu, select Create New in the top menu bar to create a new mapping as follows:
Name LAN Per-Platform Mapping Matched Platform: FortiGate-VM64-KVM
Mapped Interface Name: port3
Configure the branch policy package and policies
To create the branch policy package and policies:
- Navigate to Policy & Objects, and expand the Branches folder, then select Firewall Policy.
The firewall policy already contains an entry for Health Check Access. - Use the Create New button in the top menu bar to create a firewall policy named Branch to DC as follows:
Name
Branch to DC
Incoming Interface
LAN
Outgoing Interface
HUB1, HUB2
IPv4 Source Address
Branch-LAN
IPv4 Destination Address
Datacenter LAN1
Action
Accept

-
Click OK to create the firewall policy.
-
Create a second policy using the same method as above with the following details:
Name
Direct Internet Access
Incoming Interface
LAN
Outgoing Interface
WAN1, WAN2
IPv4 Source Address
Branch-LAN
IPv4 Destination Address
RFC-1918 address group
Negate Destination
Enable
Action
Accept
NAT
Enable
Security Profiles
Apply security profiles as needed to protect users from internet threats.
-
Click OK to create the firewall policy.
-
Create a third policy using the same method as above with the following details:
Name
DC to LAN
Incoming Interface
HUB1, HUB2
Outgoing Interface
LAN
IPv4 Source Address
Datacenter-LAN1, Branch-LAN
IPv4 Destination Address
Branch-LAN
Action
Accept
-
Click OK to create the firewall policy.
Configuring the Hub policy package and policies
To create the hub policy package and policies:
- Remaining in Policy & Objects, expand the Hub folder and select Firewall Policy to review the Hub firewall policy.
- There will be one policy created from the SD-WAN Overlay template Health Check Access.
- Use the Create New button in the top menu bar to create a firewall policy named Branch to DC as follows:
Name
Branch to Datacenter
Incoming Interface
VPN1, VPN2
Outgoing Interface
LAN
IPv4 Source Address
Branch-LAN
IPv4 Destination Address
Datacenter LAN1
Action
Accept

-
Click OK to create the firewall policy.
-
Create a second Hub policy using the same method as above with the following details:
Name
DC to Branch
Incoming Interface
LAN
Outgoing Interface
VPN1, VPN2
IPv4 Source Address
Datacenter-LAN1
IPv4 Destination Address
Branch-LAN
Action
Accept
-
Click OK to create the firewall policy.
-
Create a third Hub policy using the same method as above with the following details:
Name
Branch to Branch
Incoming Interface
VPN1, VPN2
Outgoing Interface
VPN1, VPN2
IPv4 Source Address
Branch-LAN
IPv4 Destination Address
Branch-LAN
Action
Accept
-
Click OK to create the firewall policy.