1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Please help me configure an IPSec VPN

Discussion in 'Networking (Hardware & Software)' started by Efex, 2010/02/23.

  1. 2010/02/23
    Efex

    Efex Inactive Thread Starter

    Joined:
    2010/02/22
    Messages:
    5
    Likes Received:
    0
    Hello,

    I'm desperate trying to connect and configure a VPN to my office but I haven't been able to do it :( I really need someone's help here

    Let me talk about my configurations.
    We have a small office LAN with no real server, no DC, no DHCP server
    There are just some PC's in various subnets sharing Internet and some files and printers. All the PC's has fixed IP's.

    All the office LAN is behind a D-Link DI-824VUP router wich has VPN server capabilities.
    the router has fixed public IP assigned by our ISP. Let's call it A.B.C.D
    Here are the details:

    PUBLIC IP: A.B.C.D
    LAN IP: 192.168.1.101

    In this subnet we have some PC's:
    Range: 192.168.1.1 to 192.168.1.10

    and also some other routers to stablish other subnets
    For example, router 192.168.1.105
    subnet LAN: 192.168.5.101

    We only have one PC (192.168.5.1) on that subnet that is the one on wich I'd like to connect from VPN.

    Please find here a graphic with a diagram of the network:

    [​IMG]

    I must say that I'm a total newbie on the VPN's and maybe an intermediate user on firewalls, routers and so.

    This is what I've done until now:

    Since I haven't been able to get even a tunnel open from a Windows vpn client connection, I've downloaded the trial for TheGreenBow VPN client and, following a very good guide there,
    I managed to configure the DI-824VUP router to accept Ipsec dynamic connections and I was able to get the tunnel opened but nothing more than that.
    I can't ping any pc on the office :(

    Please help me configure an IPSec VPN for my network and I'll be really thankfull.

    If you think it can be done without the GreenBow client it would be much much better since that is a paid software and I would prefer to do it for free.
    Also, I've seen a D-link vpn client they sell but I'm guessing this is not a client problem since I got the tunnel open and running.

    Thanks in advance for your help and I hope I can get this finally done since I have many days trying and searching how to do it but I haven't been able to do it.

    :)
     
    Efex,
    #1
  2. 2010/02/23
    Scott Smith

    Scott Smith Inactive Alumni

    Joined:
    2002/01/12
    Messages:
    1,950
    Likes Received:
    4
    The first thing that jumps out at me is that your second router is not connected to the internet.
    Your asking the VPN to jump through 2 routers (NATs).
    JMHO.
     

  3. to hide this advert.

  4. 2010/02/24
    Efex

    Efex Inactive Thread Starter

    Joined:
    2010/02/22
    Messages:
    5
    Likes Received:
    0
    Hi Scott,

    Yes you are right. Scond router is not facing directly to the internet. The only one doing it is the 192.168.1.101
    And yes, I would need the VPN to jump from gateway router to the second router and then to the subnet5 PC

    But I must tell you that to start I have been trying to do a VPN to connect to the subnet1 PC's and I haven't been able to do that either :(

    Any thoughts?
     
    Efex,
    #3
  5. 2010/02/24
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Is there a VPN Service running on the office PC? Is so, which one? Check the configs of the Service at office and configs of your home VPN Client.

    If using multiple routers at office (no reason to really) then you'll have to use Port Forwarding on the modem-router to forward the VPN port requests to the second router, and may have to use Port Forwarding on second router to forward VPN port requests to the specific pc.

    What I would do, per your diagram is replace the second router with a switch, or connect that particular pc directly to the switch on the initial router. With so few computer on that lan there's no need for multiple routers and multiple subnets. Keep it simple.
     
    Last edited: 2010/02/24
  6. 2010/02/24
    Efex

    Efex Inactive Thread Starter

    Joined:
    2010/02/22
    Messages:
    5
    Likes Received:
    0
    Thanks Tony for taking time to read my case.
    I'm not really sure what do you mean with VPN services running on the office PC.
    I have the VPN server settings configured at my router.
    The office PC's are Microsoft XPSP2 and Vista on wich they have the IKE and AuthIP IPsec Keying Modules and IPsec Policy Agent, I don't know if those you were talking about.

    What ports should I forward from gateway router to the second router when configuring IPSec VPN.?
    Anyways, for now I'm trying to make the VPN work at one of the directly connected PC's and haven't been able to do it :(

    You may be right on that, but please note that I can't get to work the VPN even on the subnet1.
    I decided to use routers because each subnet has some field distance between each other so I could manage that better.
     
    Efex,
    #5
  7. 2010/02/24
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Better to use 1 router and use switches to extend the lan.

    Anyway, just creating a VPN connection all by itself doesn't do a darn thing. You then need to have server-clients use the connection. For example, to access shared docs on an office computer, or remote desktop, or some such client or application.

    And the reason you are having trouble connecting is probably because the office router must be misconfigured in some way.

    http://support.dlink.com/Emulators/di824vup/h-faq.htm#Q10
     
  8. 2010/02/25
    Efex

    Efex Inactive Thread Starter

    Joined:
    2010/02/22
    Messages:
    5
    Likes Received:
    0
    Hi Tony,

    you are right. VPN connection by itself is meaningless.

    That is just the problem I'm having right now.
    The tunnel between my TheGreenBow VPN client and the D-Link router is ok and working. Everything seems to be configured just as they say in the link you sent.

    The problem is that I can't ping, I can't stablish any connection between server-clients..so the VPN is useless :(

    I need to know why???? :confused::confused:

    Don't know if my router is bloking the traffic, don't know if I need to configure the roter further, don't know if I need to configure the client further, etc.

    I even used a traffic analizer and there's nothing arriving to the server side PC's :(
     
    Efex,
    #7
  9. 2010/02/25
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Setup WAN access to the router and play with its settings. Most routers' default setting prohibits WAN access to the router control panel. Set it up so remote access is approved, then you can access the router via its WAN IP address. Be sure to use a very strong password beforehand, 8-10 characters with upper case, lower case, numbers, special characters.
     
  10. 2010/03/01
    Efex

    Efex Inactive Thread Starter

    Joined:
    2010/02/22
    Messages:
    5
    Likes Received:
    0
    The wan access has been enabled all this time :(
    I had been accessing via its wan ip address.
    What settings should I play with??

    Thanks :)
     
    Efex,
    #9

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.