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 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!
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.
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>