pppd problem s VPN do práce
Vladislav Večerek
vlada na nemrum.cz
Čtvrtek Říjen 2 11:03:36 CEST 2003
Zdravim všechny zůčastněné
Před časem jsem úspeěně rozběhl VPN a tudíž se moh dostat z domova přes modem na vnitrní sít v práci... pak sem to nejaky čas nepoužíval a ted sem zjistil že to nefunguje, při pokusu o připojení z WinXP mi Wokna nahlásej
Chyba 800: Pripojení nelze vytvořit protože VPBN server není k dispozici .... atd...
přitom mám naistalován ppp-2.4.2b3
tady prikládam konfigurace
[root na matej etc]# cat pptpd.conf
option /etc/ppp/options.pptpd
localip 192.168.0.40
remoteip 192.168.0.150-199
[root na matej ppp]# cat options.pptp
## CHANGE TO SUIT YOUR SYSTEM
lock
## turn pppd syslog debugging on
debug
#defaultroute
## change 'pptpd' to whatever you specify as your server name in chap-secrets
name prace
# Don't need this
#nobsdcomp
#nodeflate
# Tell pptpd to find local interface and put it in proxyarp mode
#proxyarp
# This option applies if you use ppp with chapms-strip-domain patch
#chapms-strip-domain
# These options are for use with the OpenSSL-licensed patch
# This flavor will be obsoleted ASAP.
# NB! You should also apply the ChapMS-V2 patch
#mtu 1450
#mru 1450
#auth
#+chap
#require-mppe
#+chapms-v2
#mppe-40 # both 40-bits and 128-bits encryption bite eachother
#mppe-128
#mppe-stateless
#ipcp-accept-local
#ipcp-accept-remote
#lcp-echo-failure 3
#lcp-echo-interval 5
#deflate 0
# These options are for use with the BSD-licensed patch (ppp => 2.4.2)
# This is the default implementation
#refuse-pap
#refuse-chap
#refuse-mschap
require-mschap-v2
require-mppe-128
#require-mppe
# These options will tell ppp to pass on these to your clients
# To use ms-dns or ms-dns in options.pptpd it must exist in /etc/resolv.conf
#ms-wins <ip-of-your-winsserver>
#ms-dns <ip-of-your-dnsserver>
[root na matej ppp]# cat chap-secrets
# Secrets for authentication using CHAP
# +++ pptp-php-gtk added for tunnel prace
vlada prace heslo *
[root na matej peers]# cat prace
# tunnel prace, written by pptp-php-gtk $Revision: 1.16 $
# name of tunnel, used to select lines in secrets files
remotename prace
# name of tunnel, used to name /var/run pid file
linkname prace
# name of tunnel, passed to ip-up scripts
ipparam prace
# data stream for pppd to use
pty "pptp 194.212.26.162 --nolaunchpppd"
# domain and username, used to select lines in secrets files
name vlada
debug
# 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
No to je snad vše co to potřebuje, přitom nevím jestli ted demon mam ještě nejak spouštět protože to běželo už minule a já si nepamatuju jak sem toho docilil :)
při pokusu o připojení to v messages vypisuje jen toto
Oct 2 10:47:48 matej pppd[4957]: The remote system (prace) is required to authenticate itself
Oct 2 10:47:48 matej pppd[4957]: but I couldn't find any suitable secret (password) for it to use to do so.
Takže to je vše, jestli se to tu neco podobnýho řešilo tak se omlouvam , prolejzam archyv konference ale trvá to.
s pozdravem V.Večerek
Další informace o konferenci Linux