August 07, 2003

Linux PPTP

http://www.microsoft.com/ntserver/ProductInfo/faqs/PPTPfaq.asp

http://pptpclient.sourceforge.net/

[root@linux peers]# cat test
# tunnel test, written by pptp-php-gtk $Revision: 1.16 $

# name of tunnel, used to select lines in secrets files
remotename test

# name of tunnel, used to name /var/run pid file
linkname test

# name of tunnel, passed to ip-up scripts
ipparam test

# data stream for pppd to use
pty "pptp 192.168.1.231 --nolaunchpppd"

# domain and username, used to select lines in secrets files
name administrator

# do not require the server to authenticate to our client
noauth

# adopt defaults from the pptp-linux package
file /etc/ppp/options.pptp

# end of tunnel file

[root@linux peers]# /usr/sbin/pppd call test logfd 1 updetach
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
Looking for secret in /etc/ppp/pap-secrets for client administrator server test
Got client administrator
Got server linux.i
Got client administrator
Got server test
Got secret test
Got auth_addr *
Got client *
Looking for secret in /etc/ppp/chap-secrets for client administrator server test
Got client administrator
Got server *
Got secret *
Got client administrator
Got server linux.i
Got client administrator
Got server test
Got secret test
Got auth_addr *
Got client *
Looking for secret in /etc/ppp/chap-secrets for client administrator server test
Got client administrator
Got server *
Got secret *
Got client administrator
Got server linux.i
Got client administrator
Got server test
Got secret test
Got auth_addr *
Got client *
Remote message: S=0253CC197C534CD8EBB1EFB3F66824AEEA977EAA
local IP address 10.103.19.203
remote IP address 10.103.19.201
primary DNS address 168.95.1.1
secondary DNS address 168.95.192.1

Posted by pank at August 7, 2003 02:36 PM
Comments
Post a comment













Remember personal info?