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
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
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...
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...
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 22
Trying 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 22
Trying 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
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1692 | |
1087 | |
752 | |
446 | |
228 |
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 2024 Fortinet, Inc. All Rights Reserved.