Skip to main content
Firasbg
Explorer II
Jul 21, 2022 5:50 PM UTC
Solved

how to access from outside (my host ) with putty to internal VM ubuntu server of fortigate VM

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

Firasbg_0-1658426028436.png

 

larsbollas
Staff
Jul 21, 2022 11:19 PM UTC

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-configuration/ta-p/198143

5 replies

larsbollas
Staff
Staff
Jul 21, 2022 11:19 PM UTC

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-configuration/ta-p/198143

Firasbg
FirasbgAuthor
Explorer II
Jul 22, 2022 5:23 PM UTC

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 ...

Firasbg_0-1658510577985.png

 

 

larsbollas
Staff
Staff
Jul 23, 2022 12:49 AM UTC

Hi Firasbg,

Can you verify if SSH is open in your server. 
From the Fortigate CLI:
# exe telnet 192.168.37.2 22

 

 

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024