我記得以前的fortigate可以直接在網頁GUI上改,不知道哪版開始似乎就無法在網頁改這個了,必須要透過指令改
擬透過ssh連進去fortigate後要下
FortiGate-60E # config system settings
FortiGate-60E (settings) # set opmode transparent
FortiGate-60E (settings) # set manageip 192.168.2.99 255.255.255.0
FortiGate-60E (settings) # set gateway 192.168.2.1
FortiGate-60E (settings) # end
這樣應該就可以了,如果有出現錯誤,例如
Cannot change to Transparent mode because this vdom contains managed switches and switchctl-vlans.
Please clear managed-switches, disable fortilink and retry.
node_check_object fail! for opmode transparent
Attribute ‘opmode’ value ‘transparent’ checking fail -7610
Command fail. Return code -7610
就表示你還要再新增一些指令,可以參考這篇文章
FortiGate-60E # config system interface
FortiGate-60E (interface) # edit "fortilink"
FortiGate-60E (fortilink) # set vdom "root"
FortiGate-60E (fortilink) # set fortilink disable
FortiGate-60E (fortilink) # next
照上面設定完畢後,再重新來一次最上面那個透通模式的指令,設定完成end後你應該會看到顯示Changing to TP mode後應該就可以了