Skip to main content
Firasbg
Explorer II
July 21, 2022
Solved

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

  • July 21, 2022
  • 1 reply
  • 5630 views

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

 

Best answer by larsbollas

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

1 reply

larsbollas
Staff
Staff
July 21, 2022

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
July 22, 2022

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
July 23, 2022

Hi Firasbg,

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