Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 13:50:39 +0400
From:      Volzhan <s_volzhan@mail.ru>
To:        freebsd-questions@FreeBSD.ORG
Subject:   VPN problem...
Message-ID:  <891696126.20020708135039@mail.ru>

next in thread | raw e-mail | index | archive | help
Hi all!
I have such a problem with VPN-client based on pptpclient:
Our server based on Linux Red Hat has DHCP service for LAN.
After installing the FreeBSD on PC, I receive IP - 192.168.234.12.
to go away from .234.0 subnet, to receive real inet IP, and to go
throw our gateway I must autorize on VPN server, IP - 192.168.234.1.
It has Chap encription Version 2. So I install pptpclient-1.0.3
from package, configure ppp.conf, and create file ppp.secret.
But when I'm trying to start autorization on VPN server, I
receive rejection of access. My netadmin can't help me, because he
doesn`t know FreeBSD, just Linux and M$.
FreeBSD is setting at my ad0s3 slice, but at ad0s1 I've M$ win98 with LAN
VPN support. And I have no any problem with inet in M$.
Here are my configurations:

uname -a>
FreeBSD sv 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002

ifconfig >
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::2d0:4cff:fe39:19b%rl0 prefixlen 64 scopeid 0x1 
        inet 192.168.234.12 netmask 0xffffff00 broadcast 192.168.234.255
        ether 00:d0:4c:39:01:9b 
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
        inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
        inet6 fe80::2d0:4cff:fe39:19b%tun0 prefixlen 64 scopeid 0x7 

ppp.conf>
VPN:
 enable chap
# enable MSCHAPv2 - I tryed with these strings, but it doesn't works.
# accept MSCHAPv2
 set authname Authname
 set authkey Authkey
 set timeout 0
 set ifaddr 0 0
 add 192.168.12.0/24 HISADDR
 alias enable yes

ppp-secret>
#Authname   Authkey
XXXX        YYYY

ppp.log>
Jul  8 13:19:27 sv ppp[329]: Phase: Using interface: tun0
Jul  8 13:19:27 sv ppp[329]: Phase: deflink: Created in closed state 
Jul  8 13:19:27 sv ppp[329]: Warning: Usage: add dest mask gateway 
Jul  8 13:19:27 sv ppp[329]: Warning: The alias command is deprecated 
Jul  8 13:19:27 sv ppp[329]: Phase: PPP Started (direct mode). 
Jul  8 13:19:28 sv ppp[329]: Phase: bundle: Establish 
Jul  8 13:19:28 sv ppp[329]: Phase: deflink: closed -> opening 
Jul  8 13:19:28 sv ppp[329]: Phase: deflink: Connected! 
Jul  8 13:19:28 sv ppp[329]: Phase: deflink: opening -> carrier 
Jul  8 13:19:29 sv ppp[329]: Phase: deflink: carrier -> lcp 
Jul  8 13:19:33 sv ppp[329]: Phase: deflink: Too many LCP REQs sent - abandoning negotiation 
Jul  8 13:19:33 sv ppp[329]: Phase: deflink: Disconnected! 
Jul  8 13:19:33 sv ppp[329]: Phase: deflink: Connect time: 5 secs: 413 octets in, 844 octets out 
Jul  8 13:19:33 sv ppp[329]: Phase: deflink: : 16 packets in, 17 packets out 
Jul  8 13:19:33 sv ppp[329]: Phase:  total 251 bytes/sec, peak 23 bytes/sec on Mon Jul  8 13:19:33 2002 
Jul  8 13:19:33 sv ppp[329]: Phase: deflink: lcp -> closed 
Jul  8 13:19:33 sv ppp[329]: Phase: bundle: Dead 
Jul  8 13:19:33 sv ppp[329]: Phase: PPP Terminated (normal). 

command line>
/usr/local/sbin/pptp 192.168.234.1 VPN

If you can, please Help me!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?891696126.20020708135039>