Skip to main content
prashanth_rnm
New Member
September 5, 2020
Question

Diffrent CLI Mode

  • September 5, 2020
  • 1 reply
  • 3527 views

Hi There,

  I'm pretty new to Fortigate and trying to test the connection from the firewall towards my DNS server.

I've already configured the DNS server and currently I trying to test the resolution of the domain name via CLI.

From CLI I couldn't issue the execute nslookup command.

Further when I login to the Fortigate Firewall my CLI prompt is in $ instead of #. Can you please whether it could be the reason not being able to execute that command? What is the difference between $ and # mode?

Further is there any option available at the firewall to perform telnet by sourcing the traffic from a different interface to the routing table?

 

Regards

Prashanth

    1 reply

    Yurisk
    SuperUser
    SuperUser
    September 5, 2020

    Th e prompt depends on the admin profile applied to your user, as far as I remember. And it is not the reason.

    You don't have nslookup on Fortigate at all. To test the DNS resolution, use # exec ping google.com  

    I don't think you can set source IP for telnet, just for ping with # exec ping-options