James Knott wrote:
Sylvester Lykkehus wrote:
James Knott wrote:
I have been trying unsuccessfully to use PPTP VPN to connect to a
couple of remote networks. One requires a domain name and the other
doesn't. I have been following some advice in this forum as well as
google searching. I have tried webmin, kvnc, the knetworkmanager
mods etc., but cannot find any method that allows me to set up what
should be a simple VPN connection. This makes me wonder if the pptp
client in SUSE actually works! Has anyone come up with a simple,
reliable method for configuring a PPTP VPN? I have a valid
username, host address, domain name and password for doing this.
What else do I need??? What about clear instructions for just using
the pptp command???
tnx jk
Hi James,
As I have not upgraded to 10.2 just yet, I wouldn't know of any
problems with PPTP in it.
I do however, have both the PPTP server and client running and
working on 10.0, and the procedures should be the same.
The company I am connection to is running MS vpn, with mschap-v2 auth
and 128bit mppe encryption.
This is how I configured it:
I did not have much luck with the rpm's available for the pptpclient,
therefore i used the tar.gz version
1. Get the latest pptpclient from http://pptpclient.sourceforge.net/
(direct link:
http://mesh.dl.sourceforge.net/sourceforge/pptpclient/pptp-1.7.1.tar.gz)
2. Unpack, compile (make), and install (make install (as root))
3. You should now have a decent /etc/ppp/options.pptp file,
configured for mschap-v2.
If you need mppe encryption, uncomment the line thats says
"#require-mppe-128".
4. Create a file under /etc/ppp/peers/, e.g. /etc/ppp/peers/company,
which contains your username and specific options for this peer.
My /etc/ppp/peers/company looks like this:
name DOMAIN\\USERNAME
remotename DOMAIN\\USERNAME
file /etc/ppp/options.pptp
Remember, there has to be 2 backslashes at the domain/username
seperation.
5. You have to insert you username and password to
/etc/ppp/chap-secrets in the format:
client hostname <password> IP addresses
My /etc/ppp/peers/chap-secrets looks like this:
"DOMAIN\\USERNAME" "*" mypassword
6. You should be able to connect to the VPN server with the pptp
command:
pptp <host/ip> call <name of peer file>, in this case:
pptp vpn.company.net call company
Hope this helps, it works for me in 10.0
Well, I'm getting a bit further. Now, I get the following error
message. (I've changed remote system name, to protect the guilty. <g>)
/usr/sbin/pppd: The remote system (xxxxxx) is required to authenticate
itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for
it to use to do so.
/usr/sbin/pppd: (None of the available passwords would let it use an
IP address.)
tnx jk
Hi James,
If you followed my directions, you would have added 3 columns to the
/etc/ppp/chap-secrets file, for each entry.
As noted on
http://pptpclient.sourceforge.net/howto-diagnosis.phtml#required_to_auth_ip
some version of pppd requires 4 items for an entry. You should be fine
just adding "*" as the fourth item of your entry, e.g.:
"DOMAIN\\USERNAME" "*" mypassword "*"
Feel free to keep me posted on your progress.
Best regards
Sylvester Lykkehus
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]