Objective
Configure Fortinet Fortigate 60D router to use VoIP Office services.
Applies To
- Fortinet Fortigate 60D
Procedure
Important Information about Fortigate Firewalls and VoIP Office Service
After testing the Fortigate series firewalls and working with Fortigate support, Support Engineers have found there are issues with the NAT configuration on these devices.
While the Firewall is not unsupported, users with these devices will run into the following issues using a Fortigate:
- Dropped calls
- One way or no way audio
- Potential device registration issues
- Duplicate SIP Ports and port shuffling
To mitigate some of these issues, Strict Register should be disabled to stop all phones from using a pinhole through port 65476 (external) and 5060 (internal). After this is complete if issues persist,
Delete SIP Firewall
Access the CLI cosole in the device GUI bu clicking >_ near the upper right hand corner
- In the Command Line Interface (CLI) run the following commands:
- config system session-helper
- show
- Notice that edit 13 contains SIP.
- Enter the following commands:
- delete 13
- end
Disable SIP Helper
- In the Command Line Interface (CLI) run the following commands:
- config system settings
- set default-voip-alg-mode kernel-helper-based
- set sip-helper disable
- set sip-nat-trace disable
- end
- Reboot the router using the web GUI under Status, or in the CLI with the following command:
- execute reboot
Configure Traffic Shaping and VoIP
- In the web GUI, go to System > Feature Select > Additional Features.
- Toggle Traffic Shaping and VoIP on.
- Click Apply.
Disable Strict Register
Strict Register forces VoIP devices through a pinhole at port 65476 and will cause duplicate porting to occur.
To disable this setting run the following command in the Command Line Interface (CLI):
- config voip profile
- edit "Profile Name"
- config sip
- set strict-register disable
- end
Note: The VoIP profile name can be found under Security Profile -> VoIP. Please note if these settings do not persist through a reboot a factory reset or other troubleshooting steps may be needed on the Fortigate itself with Fortigate support.
Create VoIP Office Objects
- In the web GUI, go to Policy & Objects.
- Select Objects, then Addresses.
- Click Create New, then click Address.
- You will need to add each subnet in the format xxx.xx.xx.x/xx.
- Do this for each of the VoIP Office subnets
Group the VoIP Office Networks
- In the web GUI, go to Policy & Objects.
- Select Objects, then Addresses.
- Click Create New, then click Address Group.
- Create a Group Name.
- Click Members, click each subnet, then click OK.
Set High-Priority Traffic Guarantee
- In the web GUI, go to Policy & Objects.
- Select Traffic Shapers.
- Edit the existing High Priority Traffic Shaper.
- Set Type to Shared.
- Set Apply Shaper to Per Policy.
- Set Traffic Priority to High.
- Check Max Bandwidth and set to 1048576 Kb/s.
- Check Guaranteed Bandwidth and set to 1000 Kb/s.
- Click OK.
Create a New Policy
- In the web GUI, go to Policy & Objects > Policy.
- Select IPv4.
- Create a new policy.
- Set the following options:
- Incoming Interface: Internal
- Source Address: All
- Outgoing Interface: WAN
- Destination Address: VoIP Office-networks
- Service: All
- Service: SIP, RTSP
- Click OK.
Arrange Policy
- In the web GUI, go to Policy & Objects > IPv4 Policy.
- Double-click the VoIP Office policy.
- Drag and drop the All VoIP Office-Networks policy to the top spot.