FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
mturic
Staff
Staff
Article Id 194982
Description
This article describes how to check the proxy settings on FortiNAC from CLI

Solution
Create SSH session towards FortiNAC, run the following command:
cat /etc/yum.conf
Example of adding proxy server to FortiNAC and verifying the settings from CLI:
FortiNAC FNVMCA
root@fnac:~
> cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
The output above does not contain any proxy configuration line.

1) Configure Proxy settings from GUI. Setup the hostname or address of the proxy server.





2) Save Settings.





Connect to  FortiNAC via SSH again and run again 'cat /etc/yum.conf':
> cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
proxy = http://192.168.16.2:8080
The newly added entry 'proxy = http://192.168.16.2:8080' should be visible as above.

Contributors