how to access from outside (my host ) with putty to internal VM ubuntu server of fortigate VM 7.2.0?
my ubuntu server is inside the fortigate and i want to access it from outside(my host) with putty
Go to Solution.
Hi Firasbg,Traffic flow is like:<Host>-><internet>-><Fortigate>-><internal VM>Try to configure VIP in the fortigate to forward SSH traffic from outside to internal VM.KB:https://community.fortinet.com/t5/FortiGate/Technical-Tip-Virtual-IP-VIP-port-forwarding-configurati...
View solution in original post
thanks @larsbollas for the response , i follow the steps of the KB but it's not working i can ping with my server to outside but the inverse with ssh(putty) not working .
I configured the interface of the server with LAN segment and the @of my server is 192.168.37.2 i try from putty but don't working i do VIP ...
Hi Firasbg,Can you verify if SSH is open in your server. From the Fortigate CLI:# exe telnet 192.168.37.2 22
i do and this the result :
FortiGate-VM64 # exe telnet 192.168.37.2 22Trying 192.168.37.2...Connected to 192.168.37.2.SSH-2.0-OpenSSH_8.9p1 Ubuntu-3
and when i click enter they appeared to me this new two lines :
FortiGate-VM64 # exe telnet 192.168.37.2 22Trying 192.168.37.2...Connected to 192.168.37.2.SSH-2.0-OpenSSH_8.9p1 Ubuntu-3(Invalid SSH identification string.Connection closed by foreign host.)
this reply of my cmd means that the ssh port is open in my server ?
Oh thanks @larsbollas it solved i can access to the inside server with SSH from the WAN(outside) interface of fortigate
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2023 Fortinet, Inc. All Rights Reserved.