Modem 3G no Fortigate

How to setup FortiGate to use 3G USB mobile internet modem as the WAN connection

I was setting up a FortiGate device today to use a 3G modem as an Internet connection instead of a standard WAN interface so here is a little tutorial how to do it.

I was using:

  • FortiGate 50B device with FortiOS v4.0,build0320,110419 (MR2 Patch 6)
  • Huawei Mobile Connect E169 HSDPA USB stick with a SIM card for a Vodafone Mobile Connect services


  • connect the modem in the USB port on the FortiGate device and enable the modem with the following command:
  • Detect the custom vendor and product ID of the USB modem with the following command:

    you should get something like this:
    vendor: 0x12d1, product: 0×1003, registered: yes

    0x12d1 is the vendor ID for the Huawei, and 0×1003 is the product ID for Huawei E169, for Huawei E367a the product ID should be 0×1446 and for Huawei E367b 0×1506

  • Configure your modem interface with the following commands:
  • Dial the modem with:

If you are using the web interface of your FortiGate device, when you enable the modem interface you will get Modem option under System > Network section on the left side menu. You can set up some of the options, like phone or Extra Initialization String there too. Also you can condial or hang-up your 3g connection from there too.

Web interface for modem connection

These are the pages I referenced when I was setting up my modem connection: