Настроил ВПН ППТП вроде все подключается а инета нету
вот что пишет лог подкл
Показать
using channel 54
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe0c301dc> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x345da035>]
sent [LCP ConfNak id=0x1 <auth chap MS-v2>]
rcvd [LCP ConfReq id=0x2 <auth chap MS> <magic 0x345da035>]
sent [LCP ConfAck id=0x2 <auth chap MS> <magic 0x345da035>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe0c301dc> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe0c301dc> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xe0c301dc]
rcvd [CHAP Challenge id=0x1 <a7394f066d826a4d>, name = "xxxxxxx"]
sent [CHAP Response id=0x1 <000000000000000000000000000000000000000000000000d6a5d08db196495d513988aa8a08ceb04c46b0828bf4115b01>, name = "xxxxxxx"]
rcvd [LCP EchoRep id=0x0 magic=0x345da035]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 217.150.55.55>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 217.150.55.55>]
rcvd [IPCP ConfNak id=0x1 <addr 172.25.108.26> <ms-dns1 217.150.51.150> <ms-dns2 217.150.51.151>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 172.25.108.26> <ms-dns1 217.150.51.150> <ms-dns2 217.150.51.151>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 172.25.108.26> <ms-dns1 217.150.51.150> <ms-dns2 217.150.51.151>]
not replacing existing default route via 192.168.108.1
local IP address 172.25.108.26
remote IP address 217.150.55.55
primary DNS address 217.150.51.150
secondary DNS address 217.150.51.151
Script /etc/ppp/ip-up started (pid 5160)
Script /etc/ppp/ip-up finished (pid 5160), status = 0x0
файл настроек
Показать
# $Id: options.pptp,v 1.3 2006/03/26 23:11:05 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection. See "man pppd".
#
# You are expected to change this file to suit your system. As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################
# Lock the port
lock
# Authentication
# We don't need the tunnel server to authenticate itself
noauth
# We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
# (you may need to remove these refusals if the server is not using MPPE)
#refuse-pap
#refuse-eap
refuse-chap
#refuse-mschap
#require-mschap
# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate
# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use. Note that MPPE
# requires the use of MSCHAP-V2 during authentication)
# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
#require-mppe-128
# }}}
# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}
debug
defaultroute
usepeerdns
nodetach
lcp-echo-failure 10
persist
maxfail 0
holdoff 15
nomppe
ну файл в папке пир
Показать
name "ххх"
password "ххх"
#remotename
file /etc/ppp/options.pptp
#ipparam tst
#nomppe
пинги
Показать
PING www.mail.ru (217.69.141.21) 56(84) bytes of data.
^C
--- www.mail.ru ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms