Linux VPN – what to do after getting connected [closed]

Update: My client forgot to forward an email from peak10 (with the IPs for two servers)!

Since I and some other people have put in some efforts (either way 🙂 ), let me document the steps to get VPN connected on windows:

Install: http://forticlient-ssl-vpn.software.informer.com/

Ask tech support for the address to use for connection, it may be different than the other IPs you have got. You will need a username and a password. You can keep domain blank. Press connect. After few seconds, it will say connected (very silently).

If the server you are connecting with is Linux – use putty to ssh using the server IP. If you are connecting to windows use RDP. You will need respective usernames and passwords. If you don’t know this information ask the tech support or your system admin or check the emails you have got from the hosting company.

Hope this helps someone


Updating the question:

  • My client has managed service from peak10.

  • Client gave me some details and I figured some with the support at peak10. I have two environment settings, saying:

Network Block: some values

Usable IP Range: some values

Subnet Mask: some values

Gateway: some values

Broadcast: some values
  • Tried to connect through VPN using Linux but could not [if you can help with this, that would be great!]. Their support was also unable to help in this. But they knew how to do it in windows so they asked me to install forticlient-ssl-vpn. After some more fiddling, it worked.

  • Now what? I am stuck at this step. I tried to ssh to server using Putty and it did not work. I am able to ping one of the internal IP addresses. I tried to do windows style //ip-address, it did not give any error but did not show any files as well. Which means nothing is shared or it is not a windows server (which is a good thing – so its probably linux).

  • Client is asleep at the moment and i need to do this stuff quickly. Any help or pointers would work. I am sufficiently technical about the stuff, but this situation ocured to me for the first time so I don’t really know what to ask?

  • Please feel free to put -1s but do help me. Thanks 🙂

Update: Output of route print

D:\Users\ppp>route print
===========================================================================
Interface List
 35...........................fortissl
 11...00 24 1d fa 8c f5 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit
Ethernet NIC (NDIS 6.20)
  1...........................Software Loopback Interface 1
 12...00 18 4d 08 c3 d9 ......NETGEAR WG111v2 54Mbps Wireless USB 2.0 Adapter
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
 16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1     192.168.0.10     25
         10.0.0.1  255.255.255.255         On-link          10.0.0.1    276
     68.71.108.28  255.255.255.255      192.168.0.1     192.168.0.10     25
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
       172.16.1.0    255.255.255.0         On-link          10.0.0.1     20
     172.16.1.255  255.255.255.255         On-link          10.0.0.1    276
      192.168.0.0    255.255.255.0         On-link      192.168.0.10    281
     192.168.0.10  255.255.255.255         On-link      192.168.0.10    281
    192.168.0.255  255.255.255.255         On-link      192.168.0.10    281
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link      192.168.0.10    281
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link      192.168.0.10    281
  255.255.255.255  255.255.255.255         On-link          10.0.0.1    276
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 13     58 ::/0                     On-link
  1    306 ::1/128                  On-link
 13     58 2001::/32                On-link
 13    306 2001:0:4137:9e76:24ad:ab5e:49bb:c915/128
                                    On-link
 12    281 fe80::/64                On-link
 13    306 fe80::/64                On-link
 13    306 fe80::24ad:ab5e:49bb:c915/128
                                    On-link
 12    281 fe80::d1ac:6f18:f860:cc4f/128
                                    On-link
  1    306 ff00::/8                 On-link
 13    306 ff00::/8                 On-link
 12    281 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

Old question below

I need to setup a website for one of my clients and they have bought managed services from peak10. It is linux server. I use linux(fedora) on my laptop and tried to connect through VPN using the settings provided. But it didn’t work on Linux. After about 5-6 hours on phone with their support, we were able to connect using my Windows 7 machine through a software called forticlient-ssl-vpn.

Now what? Their support says they have done their job by getting me connected to their server. How to I access files on the server? And more importantly, how do I SSH to the server.

Also. one more thing the support guy told me that they are using ipsec.

My problem is that I don’t know much about this stuff and am running out of time. I don’t even know what question to ask. Please help me.

Answer

But they knew how to do it in windows so they asked me to install
forticlient-ssl-vpn. After some more fiddling, it worked.

Go to command prompt, and give us the output of route print?

I tried to ssh to server using Putty and it did not work. I am able to
ping one of the internal IP addresses.

Is it the SSH server’s IP? Can you telnet to port 22?

I tried to do windows style //ip-address, it did not give any error
but did not show any files as well. Which means nothing is shared or
it is not a windows server

OK. This is a linux server.

Network Destination        Netmask          Gateway       Interface    Metric    
    172.16.1.0         255.255.255.0        On-link          10.0.0.1     20
   192.168.0.0         255.255.255.0        On-link      192.168.0.10    281

Pay attention to Gateway column, it shows On-link. It sounds like you have another problem with your vpn which I’m facing.


Edited

If the On-link problem stops you pinging to SSH server, you can add a static route:

route ADD [your SSH server's IP] MASK [subnet mask] [your VPN gateway] IF 35

35 is the interface index of fortissl – your VPN interface. It is changeable everytime you connect to VPN.

Attribution
Source : Link , Question Author : Chandresh Pant , Answer Author : quanta

Leave a Comment