Konfigurace VPN
Zbynek Houska
zbynh at seznam.cz
Sat Jan 3 23:20:30 CET 2004
On Sat, Jan 03, 2004 at 09:56:15PM +0100, Dan Lukes wrote:
>
> >skippy# pptpd --debug -l 192.168.0.3 -f -c /etc/pptpd.conf -p
> >/etc/pptpd/pid
> >pptp: Configuration label not found
>
>
> To podezreni je nepochybne spravne.
>
Dodal jsem informace do /etc/ppp/ppp.conf a spustil VPn znova, se samym
prikazem.
Dostavam tohle:
Jan 3 23:07:46 skippy pptpd[59493]: CTRL: Ignored a SET LINK INFO
packet with r
eal ACCMs!
Dale ppp.log hlasi:
Jan 3 23:07:44 skippy ppp[59494]: Phase: Using interface: tun1
Jan 3 23:07:44 skippy ppp[59494]: Phase: deflink: Created in closed state
Jan 3 23:07:44 skippy ppp[59494]: Warning: set log local: Only available on the command line
Jan 3 23:07:44 skippy ppp[59494]: Warning: set log: Failed 1
Jan 3 23:07:44 skippy ppp[59494]: Warning: Tcp: bind: Address already in use
Jan 3 23:07:44 skippy ppp[59494]: Warning: set server: Failed 2
Jan 3 23:07:44 skippy ppp[59494]: Warning: ncprange_aton: serverip: Bad address
Jan 3 23:07:44 skippy ppp[59494]: Warning: set ifaddr: Failed 1
Jan 3 23:07:44 skippy ppp[59494]: Warning: ncprange_aton: dnsip: Bad address
Jan 3 23:07:44 skippy ppp[59494]: Warning: usage: set dns pri-addr [sec-addr]
Jan 3 23:07:44 skippy ppp[59494]: Warning: ncprange_aton: netbiosip: Bad address
Jan 3 23:07:44 skippy ppp[59494]: Warning: usage: set nbns pri-addr [sec-addr]
Jan 3 23:07:44 skippy ppp[59494]: Phase: PPP Started (direct mode).
Jan 3 23:07:44 skippy ppp[59494]: Phase: bundle: Establish
Jan 3 23:07:44 skippy ppp[59494]: Phase: deflink: closed -> opening
Jan 3 23:07:44 skippy ppp[59494]: Phase: deflink: Connected!
Jan 3 23:07:44 skippy ppp[59494]: Phase: deflink: opening -> carrier
Jan 3 23:07:44 skippy ppp[59494]: Phase: deflink: carrier -> lcp
Jan 3 23:07:46 skippy ppp[59494]: Phase: bundle: Authenticate
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: his = none, mine = CHAP 0x81
Jan 3 23:07:46 skippy ppp[59494]: Phase: Chap Output: CHALLENGE
Jan 3 23:07:46 skippy ppp[59494]: Phase: Chap Input: RESPONSE (49 bytes from zhouska)
Jan 3 23:07:46 skippy ppp[59494]: Phase: Chap Output: SUCCESS
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: lcp -> open
Jan 3 23:07:46 skippy ppp[59494]: Phase: bundle: Network
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: open -> lcp
Jan 3 23:07:46 skippy ppp[59494]: Phase: bundle: Terminate
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: read (0): Got zero bytes
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: Disconnected!
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: Connect time: 2 secs: 732 octets in, 609 octets out
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: 18 packets in, 17 packets out
Jan 3 23:07:46 skippy ppp[59494]: Phase: total 670 bytes/sec, peak 250 bytes/sec on Sat Jan 3 23:07:46 2004
Jan 3 23:07:46 skippy ppp[59494]: Phase: deflink: lcp -> closed
Jan 3 23:07:46 skippy ppp[59494]: Phase: bundle: Dead
Jan 3 23:07:46 skippy ppp[59494]: Phase: PPP Terminated (normal).
A jeste:
v /etc/pptp.conf mam:
option /etc/ppp/options.pptpd
localip 192.168.0.2
remoteip 192.168.100-150
v options.pptpd mam:
lock
debug
name pptp
nodbscomp
proxyarp
Dale pak zbyva chap.secret kde jsou loginy a hesla.
IP adresa, ktera je v konfiguraku neni lokalne pouzivana, ale ppp hlasi
opak.
Omlouvam se za dlouhej mail, ale jinak to asi neslo.
> Dan
>
>
Zbynek
--
"Love is an ideal thing, marriage a real thing; a confusion of the real with
the ideal never goes unpunished."
-- Goethe
--
FreeBSD mailing list (users-l at freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l
More information about the Users-l
mailing list