VPN's IP of remote machine connected to that VPN

166 Views Asked by At

I would like to connect the remote machine to my local VPN and then ssh to that remote machine from the other machines in my local network.

Is this possible? Will the remote machine get new IP which will be visible in my local network? Do I need to configure anything manually?

I'm using FortiClient for VPN.

1

There are 1 best solutions below

0
On

Yes this is absolutely possible. Try Following steps

  • 1-Deploy VPN and assign the ipranges in DHCP public or private
  • 2-Make Sure to turn off the firewall for vpn server for now
  • 3-Turn off the Clients Firewall
  • 4-Connect to VPN
  • 5-If your connection loose try to see the client's IP from server side and try to take SSH
  • 6-Take ssh from your server
  • 7- Ping the server from other local machines
  • 8-Then enable the server side firewall and see the effect if ssh is still possible if not make a rule for specific port for ssh