1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VPN/PPTP server

Discussion in 'DD-WRT Firmware' started by miniquick, Dec 20, 2005.

  1. miniquick

    miniquick Guest

    Hi all,

    i use dd-wrt V22 on my WRT54GS v1. VPn server is setup and I could manage to connect to it from a linux system.

    When I try to connect to it from a windows system in my professionnal lan through standard VPN connection, an error occurs during authentication process (logon/pwd). I spoke with my network admin and he gave the good IP parameters to do it.

    If I try from home, so inside the wifi lan managed by the router, it works fine.

    Any ideas?
     
  2. gibman

    gibman Network Guru Member

    Same problem here!

    using a WRT54G v2.2 - dd-wrt 23 final

    client is xp pro.
    its ok when its within lan, but wan doesnt work, as someone stated previously.

    syslogd;

    01-02-2006 17:54:48 Kernel.Info 192.168.1.1 pptpd[1030]: CTRL: Client XXXXXX control connection finished
    01-02-2006 17:54:48 Kernel.Debug 192.168.1.1 pptpd[1030]: CTRL: Reaping child PPP[1031]
    01-02-2006 17:54:48 Kernel.Error 192.168.1.1 pptpd[1030]: CTRL: PTY read or GRE write failed (pty,gre)=(9,10)
    01-02-2006 17:54:48 Kernel.Error 192.168.1.1 pptpd[1030]: GRE: read(fd=9,buffer=10000580,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
    01-02-2006 17:54:48 Kernel.Info 192.168.1.1 pppd[1031]: Exit.
    01-02-2006 17:54:48 Kernel.Warning 192.168.1.1 pppd[1031]: tcsetattr: Invalid argument (line 1001)
    01-02-2006 17:54:48 Kernel.Warning 192.168.1.1 pppd[1031]: tcflush failed: Bad file descriptor
    01-02-2006 17:54:48 Kernel.Notice 192.168.1.1 pppd[1031]: Connect: ppp0 <--> /dev/pts/0
    01-02-2006 17:54:48 Kernel.Info 192.168.1.1 pppd[1031]: Using interface ppp0
    01-02-2006 17:54:47 Kernel.Notice 192.168.1.1 pppd[1031]: Connection terminated.
    01-02-2006 17:54:47 Kernel.Warning 192.168.1.1 pppd[1031]: LCP: timeout sending Config-Requests
    01-02-2006 17:54:17 Kernel.Notice 192.168.1.1 pppd[1031]: Connect: ppp0 <--> /dev/pts/0
    01-02-2006 17:54:17 Kernel.Info 192.168.1.1 pppd[1031]: Using interface ppp0
    01-02-2006 17:54:17 Kernel.Notice 192.168.1.1 pppd[1031]: pppd 2.4.3 started by root, uid 0
    01-02-2006 17:54:17 Kernel.Info 192.168.1.1 pptpd[1030]: CTRL: Starting call (launching pppd, opening GRE)
    01-02-2006 17:54:17 Kernel.Info 192.168.1.1 pptpd[1030]: CTRL: Client xxxxxxxxx control connection started

    http://forum.bsr-clan.de/viewtopic.php?p=26779

    If you try and google some of the lines from the syslogd, then you will see that it is a problem with the linux source versus xp pro client Sp2-

    http://msgs.securepoint.com/cgi-bin/get/netfilter-0512/28.html

    Guess we have to wait huh ?

    /Gibman
     
  3. DoC_DaR

    DoC_DaR Network Guru Member

    WRT54GS v2.0 using DD-WRT v23 mini finale. Have no issues as of yet connecting to PPTP server. Also set PNP to enabled, using DHCP, not much else.
     
  4. jpark

    jpark Network Guru Member

    WRT54GS v2.1 WRT v23 vpn -- No problems with PPTP VPN.

    (Using static DHCP. Can find resources on the LAN without use of a WINS or Samba server).
     
  5. Cyberian75

    Cyberian75 Network Guru Member

    What software are you guys using for VPN???
     
  6. jpark

    jpark Network Guru Member

    I'm just using standard Windows client. Server is, of course, the one built in to dd-wrt distribution.
     
  7. Cyberian75

    Cyberian75 Network Guru Member

    You mean "Remote Assistance"?
     
  8. jpark

    jpark Network Guru Member

    No. Just a network connection. From the Network Connections page, select 'Create a new connection'.

    Choose 'Connect to the network at my workplace'.

    Then choose 'Virtual Private Network connection'.

    Give the connection a name.

    Then choose to dial a connection (or not).

    Enter the host name or IP address.

    Next add a shortcut if you want it and your done.

    In the pop up window, put in the username and password.

    Should be able to connect now.
     
  9. Cyberian75

    Cyberian75 Network Guru Member

    Thanks for the info.

    How about incoming VPN connection? Have to run a VPN server, right?
     
  10. jpark

    jpark Network Guru Member

    You have to turn on the PPTP server in the router and set up access. Its under Administration|services.

    The Server IP is the IP assigned to your network by your ISP.
    Next is a range of addresses to assign to VPN clients as
    192.168.1.50-100
    Next put in the username and password in the Chap-Secrets area as
    logname[space]*[space]password[space]*
     
  11. Cyberian75

    Cyberian75 Network Guru Member

    Forgive me as I'm new to VPN.

    One more question: All you need is a new VPN connection on Windows for bi-directional connectivity? No need for software such as RealVPN? If so, does the new VPN connection created under Network Connections act as a server as well as a client?

    I know that the router can be configured as such, but I don't understand how it interacts with Windows.
     
  12. jpark

    jpark Network Guru Member

    Don't really understand what you are asking. The VPN client you set up in Windows connects to the VPN server on the router. You can then access resources on the remote network. In fact, while the VPN client is connected, checking email, browsing, etc. happens through the remote LAN.

    If what you are wanting is a (semi) permanant connection where the two networks are joined router to router, I'm not sure how you would proceed. Probably set up a PPTP server on each router and a PPTP client on each router.
     
  13. Cyberian75

    Cyberian75 Network Guru Member

    So the VPN client/server of the router does interact with Windows VPN connection which handle resources on Windows.

    Thanks for your patience. :)
     

Share This Page