Technical guide • Firewall configuration

A clear path
through FortiGate.

A practical guide to connecting and troubleshooting Fortinet FortiGate on dedicated Internet service.

How does the firewall connect to dedicated Internet?

The provider delivers a handoff to your equipment. A routed firewall needs the correct physical connection, addressing and route, plus a security policy that allows the intended traffic. Translation may also be required for private client addresses.

Start with your design

This guide illustrates a routed FortiGate deployment with a statically assigned IPv4 WAN address. Your firewall may instead use DHCP, SD-WAN, virtual domains (VDOMs), high availability, a separate router, or IPv6. Confirm the existing design before making changes.

Conceptual path from the Internet through the provider handoff and firewall to the business network.
A simplified routed design. Interfaces, zone names and devices depend on the installation.

Menu names and commands vary with the model, software release, management platform, permissions, and deployment. Preserve management access, coordinate a maintenance window, and prepare a tested rollback before changing a working service.

Gather the service details.

Confirm the handoff location, port and optic requirements, cable, operational speed, and any specified VLAN, MTU, negotiation or FEC settings. Obtain the actual address, prefix or mask, gateway and routed-block instructions from the service order. Confirm which team manages each device.

Management access is separate. Do not expose administrative services on the Internet-facing interface just to make the circuit work. Preserve an approved management path and coordinate changes across an HA pair or centralized management system where applicable.

Virtual wire or transparent modes, dynamic routing, multiple providers, and upstream routers require different steps. This guide does not replace the organization’s approved design.

Check the link first.

Connect the agreed data port using supported optics and cabling. Compare operational link state and speed on both sides. If a switch or router sits between the firewall and provider, check each interface on that path. A link can be up while VLAN, MTU, or routing settings are wrong.

Assign the external interface.

For a FortiOS 7.4 example, open Network → Interfaces, select the agreed WAN data interface, and edit its addressing. Select the static addressing option and enter the provider-assigned IPv4 address and netmask. Interface names and available settings differ by model, firmware, and configuration; wan1 below is an example, not an assumed port.

Example / External interface

A sample set of fields.

Illustration
A teaching aid, not a screenshot of FortiOS. The interface name and documentation addresses are examples, not service assignments.
External routed interface
Interface
wan1
Role / zone
WAN interface
Routing context
Routing table / VDOM as applicable
IPv4 address / prefix
198.51.100.2/30

Replace every example with the approved design and provider-assigned information. The actual interface layout varies.

Optional CLI example

For a static IPv4 handoff on FortiOS 7.4, the following partial configuration illustrates the interface settings. The interface and address are examples; use your approved assignment and the correct VDOM. This does not configure routing, security policy, or NAT. Applying interface changes can interrupt connectivity, so retain management and rollback access.

FortiOS 7.4 / Illustrative configuration
config system interface
    edit "wan1"
        set mode static
        set ip 198.51.100.2 255.255.255.252
    next
end

next saves the interface entry; end saves and exits configuration. These commands can affect connectivity. Do not paste these documentation addresses into a live service.

Configure the internal interfaces and address ranges according to the existing LAN design. If the handoff uses a VLAN, use the agreed tagging and interface design rather than assuming an untagged port.

Set the path to the provider.

In the illustrated static design, open Network → Static Routes and configure the appropriate IPv4 default route, destination 0.0.0.0/0, with the provider-assigned gateway and correct outgoing interface. For illustration, 198.51.100.2/30 is the interface address and 198.51.100.1 the next hop; these documentation addresses are not usable Stealth assignments.

Some FortiGate models may already use SD-WAN, and DHCP or dynamic routing may supply routes. Check the active routing and SD-WAN design before adding a competing default route. In a multi-VDOM configuration, verify that the interface, route, and policy belong to the correct VDOM.

Allow the intended traffic.

Review Policy & Objects → Firewall Policy for the intended incoming and outgoing interfaces or zones, source and destination, services, logging, and security profiles. Permit only the traffic required by the business. A route does not itself permit a session.

For internal private IPv4 addresses, source NAT is often required. Depending on the design and whether central NAT is enabled, translation may be controlled in the firewall policy or by separate NAT rules. A routed public block or IPv6 design may have different requirements; do not assume NAT is always needed. NAT does not replace the firewall policy.

Check the actual rule order, translation, and return path for a representative flow. Avoid broad allow rules or disabling inspection merely to make a test pass.

Work outward from the handoff.

  1. 01

    Review and apply

    Confirm the intended interface, zone, address, gateway, route, access rule and translation. Apply changes through the correct management workflow and retain rollback access.

  2. 02

    Check link and gateway

    Verify the operational interface speed and state, then test the gateway from the appropriate source where permitted. An unanswered ping alone does not prove all traffic is blocked.

  3. 03

    Check a client

    From an authorized wired client, test DNS, an approved external destination, and a business application. Confirm the return path and repeat for IPv6 where used.

  4. 04

    Record the baseline

    Record the time, interface counters, test direction, and results for later comparison.

Follow the evidence.

If the link is up but clients cannot reach the Internet, check the WAN address and gateway, active routing or SD-WAN selection, LAN-to-WAN policy, source NAT where required, DNS, and the return path. A successful firewall-originated ping may follow different local-out routing or policy than a client session; check both paths.

Interface / FortiOS CLI
diagnose hardware deviceinfo nic wan1

Use the actual interface name. Output and available counters vary by model.

Active IPv4 routes
get router info routing-table all

Inspect the active route and gateway in the relevant VDOM. This example is for routed mode.

System resources
get system performance status

Review system CPU, memory, sessions and traffic context alongside device-specific dataplane and interface information.

FortiOS 7.4 / Read-only interface detail
diagnose netlink interface list wan1

Use the actual handoff interface; fields and availability vary by release and model.

Illustrative example / FortiOS CLI

Reading interface counters.

Simulated output
This abbreviated teaching example is simulated, not captured from a firewall. Ellipses indicate omitted fields.
FORTIOS / EXAMPLE
# diagnose netlink interface list wan1
if=wan1 ... mtu=1500 ...
flags=up broadcast run multicast
stat: rxp=124820 txp=118500 ... rxe=2 txe=0 rxd=0 txd=0 ...
01

up is an interface flag; it does not establish that the gateway or Internet is reachable.

02

rxp / txp count received and transmitted packets; rxe / txe are errors, and rxd / txd are drops.

03

Record a second reading and compare it with traffic and the connected handoff. The two receive errors shown here are cumulative; one reading cannot say when they occurred.

The values are invented and do not identify a fault. Interface output varies by device and release.

Compare physical and logical errors or discards over time on the firewall and each device through the circuit handoff. A rising counter is a reason to investigate, not proof of where a fault occurred. Record values before clearing counters; coordinate captures and keep sensitive diagnostic data in approved support channels.

Review the relevant logs and session or policy decisions for a specific authorized flow, and verify which device and path carry the return traffic. For name-resolution symptoms, see our business DNS guide.

Check the whole path.

Interface speed is not the same as throughput with inspection, VPN, logging, and the business’s traffic profile enabled. Check the model’s documented capabilities and resource use during the issue. A five-minute average can hide short bursts.

Use capable, separate client and server systems for a throughput test across the path. Coordinate high-speed tests to avoid disrupting production. Our performance guide covers iperf3, latency, loss, and the limits of the measurement.

What to have ready.

  • Service address, circuit identifier, handoff, and affected interface.
  • When the issue began, time zone, affected applications, and recent changes.
  • Operational link speed and state, plus counter changes at accessible devices along the path.
  • Source, destination, address family, test results, and whether the client used Wi-Fi or a VPN.
  • Relevant route, security-policy, and NAT evidence without passwords or private keys.

For Stealth service, contact support@stealth.net or +1 212 232 2020. Your firewall administrator and vendor support can assist with device and policy behavior.

Sources and further reading.

These are the vendor’s configuration and troubleshooting references. Select the version and management system that match your device.

Configuration

WAN and routing

Security

Policy and translation

Diagnostics

Read-only checks

Prepared by Stealth Communications, a provider of business connectivity. Fortinet FortiGate and FortiOS are names of their respective owner. This independent guide is not a substitute for your service documentation or vendor instructions.