--- title: "Adding a Custom Service" slug: "fortigate-adding-a-custom-service" updated: 2026-07-01T03:44:50Z published: 2026-07-01T03:44:50Z canonical: "docs.serversaustralia.com.au/fortigate-adding-a-custom-service" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.serversaustralia.com.au/llms.txt > Use this file to discover all available pages before exploring further. # Adding a Custom Service A *service* is an object that holds a definition of the ports and protocols that are required for a specific application to function on the network. **Common examples of services:** HTTP: TCP Port 80 HTTPS: TCP Port 443 SSH: TCP Port 22 Remote Desktop (RDP): TCP 3389 In Forti-OS, the most common services are already defined for you to use out of the box, but most users will likely want to add additional services for use in firewall policies. ## Create a Service **Navigate to:** 1. "Policy & Objects" 2. "Services" 3. "+ Create New" ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-1687142432203.png) ## Configuring the Rule When creating the new rule, it will ask you for the following: - **Name:** Name the service. - **Comments:** Anything you think may be useful. - **Color:** You can set a custom colour for the service in the UI - **Category:** You can set a category for the service. Default is 'Uncategorized'. ***Protocol Options*** **Protocol Type:** The options are "TCP/UDP/SCTP", "ICMP", "ICMP6", or "IP". For the vast majority of services, you'll just want to leave it on the default "TCP/UDP/SCTP". **![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-1687142945007.png)** - **Address:** You can define an address range or FQDN here. Most of the time you'll want to leave this as default, however, and define the IP addresses on the firewall policy instead. Default value is 0.0.0.0. - **Destination Port:** This is a list of TCP, UDP, or SCTP ports which define the service. - **Specify Source Ports:** You can toggle this on to define source ports. *The vast majority of services won't need this enabled.* ![](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-1695090183502.png) Click **OK** once you're done and you can now use this service in firewall policies.