Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Myth
New Contributor III

Device Detection on LAN vs WAN

I have a relatively new environment, currently no Device Detection enabled on interfaces and I'm curious if anyone is using it enabled on WAN interfaces or purely internal facing interfaces?

 

In 5.4.8 in the UI the option is only available when you define the interface as LAN. I'm guessing its not much use enabled on a public facing interface? But thought I'd check here.

 

The reason I ask is I am currently whitelisting access to some services in DMZ via IP and I am curious if its possible to do it using Devices / hardware address?

 

Thanks!

4 REPLIES 4
Nicholas_Doropoulos
Contributor

Hi Myth,

 

Device detection is intended for devices directly connected to your LAN ports. In theory, device detection can also be enabled on a WAN port but it may be unable to determine the operating system on some devices. Hosts whose device type cannot be determined passively can be found by enabling active scanning on the interface.

 

Regarding your second question, you can enable device detection on your DMZ interface via the MAC address method. Other device detection methods include:

 

[ul]IP address[/ul][ul]operating system[/ul][ul]hostname[/ul][ul]user name[/ul][ul]how long ago the device was detected and on which FortiGate interface[/ul]

 

Let us know if there is anything else.

NSE5, CCSE, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3

NSE5, CCSE, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3
Myth

Thanks Nick, good help.

 

Couple of things - Can enabling active scanning really enable a FG device to identify devices coming in on a wan interface across public internet?

 

You mention enabling device detection in different modes, mac address, IP, OS, hostname... Where do you define the mode that device detection operates on a specific interface?

 

Cheers!

M

Nicholas_Doropoulos

Hi Myth,

 

Device identification can be employed by two modes: agent-based and agentless.

 

The previously discussed detection modes fall into the agentless method whereby clients require DIRECT connectivity to the Fortigate. That is why are mainly used for local transmissions of traffic say from LAN or DMZ to FGT. You can't really choose the detection method as far as I'm aware but you can identify the detection method being used with the following command:

 

diag user device list

 

If you want your FGT to identify devices over your WAN interface, then you would be using the agent-based method that would require forticlient and fortitelemetry (which is a mandatory feature to allow for the forticlient's registration).

 

I hope that helps.

 

NSE5, CCSE, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3

NSE5, CCSE, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3
Myth

Thanks it does help, one thing I am trying to find a definitive answer to is 'DIRECTLY connected'. I mean how many people are going to connect a server or host directly to a physical interface on a FG device that might, depending on model, have limited interfaces.

 

It seems to mean a L2 connection, implying the gateway for a subnet must reside on the FG appliance. Am I correct?

 

What I wonder is how do people use the Device Inventory for a large corporate network that might have upward of 30 vlans / subnets on their CORE and have a route out to internet via the FG. As soon as you do that you lose the mac address. Curious what creative ways are getting around this.

 

Ollie

Labels
Top Kudoed Authors