Trusted Network

This article explains how to manage and configure the Trusted Network.

When you define a Trusted Network, the Timus Connect Application is going to disconnect from the gateway automatically once any Trusted Networks have been detected. Once you switch to other Networks, which are not trusted, the Timus Connect is going to reconnect to the gateway automatically.

  • You need to enable the Trusted Network feature on the Agent Profilesas shown in the image below. Please note that this feature can be enabled on both Windows and macOS.

  • You can go to the Timus Manager -> Settings -> Configuration -> Trusted Network.

  • Once you click on Create New, you will be able to see the configuration page of the Trusted Network.

  • You can select the Network Type either Wired or Wireless.

  • Once you select the Network Type as Wired, you need to set the Source MAC address.

  • When you select the Network Type as Wireless, you need to set the BSSID.

  • To be able to find the MAC addresses, you can use the scripts on both Windows or macOS.

Windows (The script must be run over PowerShell as administrator):

$string =  (Get-NetAdapter | Select-Object InterfaceDescription, MediaType, ifIndex, Status | Where-Object { $_.Status -eq "Up" }| Sort-Object -Property ifIndex | Select -First 1).MediaType
if ($string -like "*.11*") { 
	$bssidOutput = netsh wlan show interfaces | Select-String "BSSID"
	if ($bssidOutput.Count -gt 0){
		$address=[regex]::Match($bssidOutput, '([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}').Value
		Write-Host("Error","Interface details not found for Wifi adaptor.")
	$gateways = (Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Where-Object { $_.IPEnabled -eq $true } | Select-Object -ExpandProperty DefaultIPGateway)
	$arpOutput = 0
	if ($gateways.Count -eq 1) {
		$arpOutput = arp -a | Select-String -Pattern $gateways
	} elseif ($gateways.Count -gt 1) {
		$arpOutput = arp -a | Select-String -Pattern $gateways[0]
	else {
		Write-Host("Error","Gateways not found")

	if ($arpOutput -ne 0){
		if ($arpOutput.Count -eq 1) {
			$address=[regex]::Match($arpOutput[0].ToString().Trim(), '([0-9a-fA-F]{2}-){5}[0-9a-fA-F]{2}').Value
		} elseif($arpOutput.Count -gt 1) {
			$address=[regex]::Match($arpOutput[1].ToString().Trim(), '([0-9a-fA-F]{2}-){5}[0-9a-fA-F]{2}').Value
		} else {
			Write-Host("Error","ARP details not found for the gateway.")

macOS (the script must be run over Terminal):

interface=$(networksetup -listnetworkserviceorder | awk -F': ' '/Device: / {gsub(/[ )]/, "", $3); if(length($3) > 0) print $3}' | while read -r line; do interface_status=$(ifconfig "$line" 2>/dev/null | grep status | awk '{print $2}'); if [[ "$interface_status" == "active" ]]; then echo "$line"; break; fi; done)
summary=$(ipconfig getsummary "$interface")
if echo "$summary" | grep -q "BSSID"; then
echo "wireless" $(sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '/BSSID/{print $2}')
default_gateway=$(route -n get default | awk '/gateway:/{print $2}')
echo "wired"  $(arp -a | grep "$default_gateway" | awk '{print $4}' | head -n 1)
  • Once you find the MAC address, which you need, you need to enter it to the related field on the Trusted Network. Then, hit the Save button.

Last updated