And yet another VPN problem / question

Discussion in 'DD-WRT Firmware' started by Digidat, Nov 3, 2005.

  1. Digidat

    Digidat Network Guru Member

    Hi people :)

    I am new here, so I hope I do the right thing at the right place here, if not be gentle :)

    First of all I must say that this is the best firmware of all of the ones I tried, at least for my purposes.
    Even all the Beta releases (I have used) have bugs I don't even think of and don't come across with :)
    The wireless reception is perfect and the options are super and so many of them.
    So my compliments to the DD-WRT project people from me who has no Linux knolledge.

    I have (yet another :) ) question about an VPN connection.
    I use the latest DD-WRT firmware (V23 Beta2 1-11-05) in my Linksys WRT54GS router.
    As far as I understand it you can have 2 Linksys WRT54G(S) routers set up a VPN tunnel, so without using a WinXP VPN-Client-Connection / VPN Dailup
    In the firmware I can do this under Administration / Services / VPN Client - VPN Server
    The reason I want to do this, is because I want an VPN tunnel to a friend of mine
    The setup I have done for the VPN server part in router number 1 works (it is already up and running with my friend).
    I can connect true my Linksys router with a WinXP VPN-Client-Connection / VPN Dailup, and my pc gets a second IP-adres from his VPN server / router
    But I can't get the client part on my WRT54GS working, although al the setting seems to be correct.
    My pc doesn't get a second IP-adres and I can't ping is LAN pc's (which I can if I connect with the WinXP VPN-Client-Connection / VPN Dailup)
    So my question is: what am I doing wrong, do I have to do something more, or am I misunderstanding the functions or something ?

    The techniqual info:

    - VPN Server (Friend)
    Router: Linksys WRT54G
    Wan IPadres (fictional): 80.100.81.101
    Lan: 172.16.201.X
    Subnetmask: 255.255.255.224

    PPTP Server: Enabled
    Server IP: 80.100.81.101
    Client IP(s): 172.16.201.16-30 (It doesn't overlap the IP's voor his PC's)
    CHAP-Secrets: test * testing *


    - VPN Client (Me)
    Router: Linksys WRT54GS
    Wan IPadres (fictional): 90.200.91.201
    Lan: 172.16.203.X
    Subnetmask: 255.255.255.224

    PPTP Client Options: Enabled
    Server IP or DNS Name: 80.100.81.101
    Remote Subnet: 172.16.201.0
    Remote Subnet Mask: 172.16.201.224
    User Name: test
    Password: testing

    So this should do it, but it doesn't.
    Maybe I have another option enabled which I shouldn't or the other way around or something ?
    Can anybody help me with this ?
    Second, can you have both the Server and the Client options enabled at the smae time, if yes...can you have another VPN Tunnel ?

    Thanks in advange for helping me :)

    Digi
     
  2. 4Access

    4Access Network Guru Member

    I must start by saying that I haven't used the VPN features in DD-WRT but one thing jumped out at me while looking through your configuration:

    The Remote Subnet Mask should be 255.255.255.224 not 172.16.201.224
     
  3. Digidat

    Digidat Network Guru Member

    4Access,

    First of all thanks for replying :cheer:
    And you are correct (what reminds me, that I should stick with Cola when i'm writing serious problems / questions in Forums :shock: )
    The Remote Subnet Mask should be (and is) 255.255.255.224.

    So consider it a typing error en indeed the correct settings / configuration for my router are:

    - VPN Client (Me)
    Router: Linksys WRT54GS
    Wan IPadres (fictional): 90.200.91.201
    Lan: 172.16.203.X
    Subnetmask: 255.255.255.224

    PPTP Client Options: Enabled
    Server IP or DNS Name: 80.100.81.101
    Remote Subnet: 172.16.201.0
    Remote Subnet Mask: 255.255.255.224
    User Name: test
    Password: testing

    Help is still greatly appriciated

    Thanks,

    Digi
     
  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.
    Dismiss Notice