cherez pptp vpn podkluchaet no cherz minuta otkluchaetets vot configurasiya i logi/etc/ppp/pears/vpn1
# tunnel vpn1, written by pptpconfig $Revision: 1.2 $
# name of tunnel, used to select lines in secrets files
remotename vpn1
# name of tunnel, used to name /var/run pid file
linkname vpn1
# name of tunnel, passed to ip-up scripts
ipparam vpn1
# data stream for pppd to use
pty "pptp vpn.mydomain.kg --nolaunchpppd "
# domain and username, used to select lines in secrets files
name myusername
#debug dump
# 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
/etc/ppp/options.pptp
#
# Lock the port
#
lock
#
# We don't need the tunnel server to authenticate itself
#
noauth
#
# Turn off transmission protocols we know won't be used
#
nobsdcomp
nodeflate
#
# We want MPPE
#
# require-mppe
#
# We want a sane mtu/mru
#
mtu 1500
mru 1500
#
# Time this thing out of it goes poof
#
lcp-echo-failure 10
lcp-echo-interval 10
vot logi
linux:~ # pppd call vpn1
Using interface ppp1
Connect: ppp1 <--> /dev/pts/1
CHAP authentication succeeded
local IP address 85.xx.xx.xx
remote IP address 85.xx.xx.xx
Script /etc/ppp/ip-up finished (pid 5276), status = 0x0
Modem hangup
Connection terminated.
Connect time 1.0 minutes.
Sent 229983654 bytes, received 40 bytes.
Script pptp vpn.mydomain.kg --nolaunchpppd finished (pid 5252), status = 0x0
Script /etc/ppp/ip-down finished (pid 5289), status = 0x0
Connect time 1.0 minutes.
Sent 229983654 bytes, received 40 bytes.
linux:~ #
i pokazyvaet otpravleno 229 MB polucehno 40 byte
Chto ne pravilno zdelal
OS linux SuSE 9.3