FortiGate # config vpn l2tp
FortiGate (l2tp) #set status enable // 开启vpn功能
FortiGate (l2tp) #set eip 192.168.2.99 // 配置客户端分配的ip范围: 结束ip
FortiGate (l2tp) #set sip 192.168.2.90 // 配置客户端分配的ip范围 :开始ip
FortiGate (l2tp) #set usrgrp L2TP_over_IPSEC _GROUP // 调用VPN用户组
FortiGate (l2tp) #end
FortiGate #config vpn ipsec phase2-interface
FortiGate (phase2-interface) # edit 2
FortiGate (2) # set encapsulation transport-mode 需要在命令行下配置
FortiGate (2) # end
防火墙要记得配置
菜单分类