Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 PPTP VPN with MPPE

    Reply
    Page 5 of 8 | Prev |   3     4   5   6     7   | Next | Last
    basp | # 41 | 2010-04-07, 13:56 | Report

    Hi all,

    I followed all information in this threat and managed to get a VPN connection. I have one chalange left: after connecting to the VPN I need to use a proxy server for my browser. Do you have any hints on how to set this up automatically, after connecting to the VPN?

    Thanks in advance,

    Bas

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tom4_u | # 42 | 2010-04-25, 19:45 | Report

    @ Big Phat Jan,

    Thanks mate, you are great, but i m lost @ some stage

    I did upto commenting the sub, and after that i do not know what to do

    the only info i have abt my VPN connection is
    it is PPTP, servername and credentials

    Say my server name is : vpn.servername.com
    usn: tom
    pass: 123

    how do i create a conf file and where do i place it and how do i make a tunnel

    Thanks in advance

    Edit | Forward | Quote | Quick Reply | Thanks

     
    xuggs | # 43 | 2010-04-25, 19:56 | Report

    I wish I knew how to play around with linux. Isn't there a gui or client for PPTP VPN for n00bs like me?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Big Phat Jan | # 44 | 2010-04-26, 09:30 | Report

    Originally Posted by tom4_u View Post
    @ Big Phat Jan,

    Thanks mate, you are great, but i m lost @ some stage

    I did upto commenting the sub, and after that i do not know what to do

    the only info i have abt my VPN connection is
    it is PPTP, servername and credentials

    Say my server name is : vpn.servername.com
    usn: tom
    pass: 123

    how do i create a conf file and where do i place it and how do i make a tunnel

    Thanks in advance
    Hi Tom,

    It's a while since I set mine up, but I think you need to use:

    pptpsetup --create tunnelname --server vpn.servername.com --username tom --password 123 --encrypt

    If you have been given a domain you can add "--domain domainname\\".

    The point of pptpsetup is to create your configuration files, one of which will be /etc/ppp/peers/tunnelname if you want to check the script has run ok.

    That done you can use the pppd command I gave in the post on page 2 and follow the instructions from there. Let us know how it goes!

    Cheers,
    Jan

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Big Phat Jan | # 45 | 2010-04-26, 09:41 | Report

    Originally Posted by xuggs View Post
    I wish I knew how to play around with linux. Isn't there a gui or client for PPTP VPN for n00bs like me?
    I'm afraid not. You could try voting in the brainstorm here, and voting for the bug here, though that has been closed as "moved to brainstorm".

    The closest I can find is from wrayb in this thread though I haven't tried it myself, and it sounds like it's only a little bit easier than following the instructions here.

    Cheers,
    Jan

    Edit | Forward | Quote | Quick Reply | Thanks

     
    xuggs | # 46 | 2010-04-26, 09:58 | Report

    Thanks Jan really appreciate your help dude.

    Will check it out from home. N900 is sweet and PPTP extensibility will be sugar sweet. I wonder if there are any paid apps for PPTP VPN.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    si2ni | # 47 | 2010-04-28, 22:56 | Report

    Hello Jan
    Could you help me ?
    I'm having the following error trying to connect in my org:
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/1
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x56175b9f> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c0.a4.2d.69.81.6d.4b.d9.98.bd.e6.53.d7.12.08 .17.00.00.00.00]> < 17 04 00 1a>]
    No auth is possible
    sent [LCP ConfRej id=0x1 <auth eap> <callback CBCP> <mrru 1614> < 17 04 00 1a>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP TermReq id=0x2 "V\027[\237\000<\315t\000\000\003\227"]
    sent [LCP TermAck id=0x2]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    ^CTerminating on signal 2
    Script pptp 200.246.78.3 --nolaunchpppd finished (pid 1649), status = 0x0
    sent [LCP TermReq id=0x2 "User request"]
    Modem hangup
    Connection terminated.

    I used Ctrl C cos those messages didn't stop.

    thx a lot

    Marcelo

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Big Phat Jan | # 48 | 2010-04-29, 09:17 | Report

    Originally Posted by si2ni View Post
    Hello Jan
    Could you help me ?
    I'm having the following error trying to connect in my org:
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/1
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x56175b9f> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c0.a4.2d.69.81.6d.4b.d9.98.bd.e6.53.d7.12.08 .17.00.00.00.00]> < 17 04 00 1a>]
    No auth is possible
    sent [LCP ConfRej id=0x1 <auth eap> <callback CBCP> <mrru 1614> < 17 04 00 1a>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    rcvd [LCP TermReq id=0x2 "V\027[\237\000<\315t\000\000\003\227"]
    sent [LCP TermAck id=0x2]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
    ^CTerminating on signal 2
    Script pptp 200.246.78.3 --nolaunchpppd finished (pid 1649), status = 0x0
    sent [LCP TermReq id=0x2 "User request"]
    Modem hangup
    Connection terminated.

    I used Ctrl C cos those messages didn't stop.

    thx a lot

    Marcelo
    Well it looks like you don't have the right credentials ("no auth is possible").

    Check the contents of the following files and see whether your username, domain, and password are correct:

    /etc/ppp/chap-secrets
    /etc/ppp/peers/<tunnelname>

    If you have a domain, make sure your username comes out as:

    DOMAIN\\username

    (with two slashes).

    You'll need to be root to check the contents of these files. The easiest way to check them is to use "cat", which will print the contents of the file to the screen, i.e.

    #become root
    sudo gainroot

    #check contents of chap-secrets
    cat /etc/ppp/chap-secrets

    #check contents of peers file
    cat /etc/ppp/peers/<tunnelname>

    #stop being root
    exit

    Cheers,
    Jan

    Edit | Forward | Quote | Quick Reply | Thanks

     
    bigjonroberts | # 49 | 2010-05-06, 14:25 | Report

    Thank you guys so much for creating this thread and sharing this information.

    I am having some difficulties as well. I think I'm 90% of the way there, but I'm stumped at the moment.

    I looked in the error log file in /var/log and it was empty. I have scoured the net and found a good resource here:

    http://pptpclient.sourceforge.net/howto-diagnosis.phtml



    here is an excert from my dbug output:

    Originally Posted by
    / # pppd call amerch logfd 2 nodetach debug dump
    pppd options in effect:
    debug # (from command line)
    nodetach # (from command line)
    logfd 2 # (from command line)
    dump # (from command line)
    noauth # (from /etc/ppp/peers/amerch)
    refuse-pap # (from /etc/ppp/peers/amerch)
    refuse-chap # (from /etc/ppp/peers/amerch)
    refuse-mschap # (from /etc/ppp/peers/amerch)
    refuse-eap # (from /etc/ppp/peers/amerch)
    name DOMAIN\\uname # (from /etc/ppp/peers/amerch)
    # (from /etc/ppp/peers/amerch)
    pty pptp nonya.bizniz --nolaunchpppd # (from /etc/ppp/peers/amerch)
    crtscts # (from /etc/ppp/options)
    # (from /etc/ppp/options)
    asyncmap 0 # (from /etc/ppp/options)
    lcp-echo-failure 4 # (from /etc/ppp/options)
    lcp-echo-interval 30 # (from /etc/ppp/options)
    hide-password # (from /etc/ppp/options)
    noipdefault # (from /etc/ppp/peers/amerch)
    defaultroute # (from /etc/ppp/peers/amerch)
    replacedefaultroute # (from /etc/ppp/peers/amerch)
    proxyarp # (from /etc/ppp/options)
    usepeerdns # (from /etc/ppp/peers/amerch)
    nobsdcomp # (from /etc/ppp/peers/amerch)
    nodeflate # (from /etc/ppp/peers/amerch)
    require-mppe-128 # (from /etc/ppp/peers/amerch)
    noipx # (from /etc/ppp/options)
    using channel 32
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/1
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfc214edd> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <mru 1400> <auth eap> <magic 0x7ffd19e4> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c7.a0.9d.2b.5a.42.40.10.9b.03.a2.56.0a.5d.eb .c8.00.00.00.00]> < 17 04 85 7f>]
    sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 85 7f>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfc214edd> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x7ffd19e4> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c7.a0.9d.2b.5a.42.40.10.9b.03.a2.56.0a.5d.eb .c8.00.00.00.00]> < 17 04 85 7f>]
    sent [LCP ConfRej id=0x1 <callback CBCP> <mrru 1614> < 17 04 85 7f>]
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfc214edd> <pcomp> <accomp>]

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ric_amaral | # 50 | 2010-05-10, 12:23 | Report

    Hi everyone,

    Since now we have the Kernel Power including PPTP issues, could someone give us a step by step to setup PPTP VPN?

    I´m a beginner and at this moment I feel lost doing that.

    I now it´s a matter of time to having a APP to make the things realy easy like "Mobile HotStpot" (in my oppinion the most usefull!)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 5 of 8 | Prev |   3     4   5   6     7   | Next | Last
vBulletin® Version 3.8.8
Normal Logout