FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
mmontes
Staff
Staff
Article Id 194704
Description
This article describes the steps to configure a 3G D-Link USB modem model DWM-221.    

Solution
The following configuration script should be implemented in the FortiGate device:
config system 3g-modem custom
    edit 1
        set vendor "D-Link"
        set model "DWM-221"
        set vendor-id 2001
        set product-id 7e19
    next
end

config system modem
    set status enable
    set pin-init "AT+CPIN=\"xxxx\""
    set auto-dial enable
    set idle-timer 1
    set redial 10
    set wireless-port 2
    set phone1 "*99#"
    set username1 "uuuu"
    set passwd1 "oooo"
    set extra-init1 "at+cgdcont=1,\"IP\",\"vvvv\""
    set altmode disable
    set distance 11
end

The parameters 'xxxx', 'uuuu', 'oooo' and 'vvvv' should known and set by the user.

If there are any connection issues then the following debug can be used on the FortiGate side:
# diag debug reset
# diag debug disable
# diag debug application modemd -1
# diag debug app ppp -1
# diag debug enable    

Contributors