From owner-freebsd-questions@FreeBSD.ORG Sun Sep 4 22:58:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B91E01065670 for ; Sun, 4 Sep 2011 22:58:51 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward10.mail.yandex.net (forward10.mail.yandex.net [IPv6:2a02:6b8:0:202::5]) by mx1.freebsd.org (Postfix) with ESMTP id E16FE8FC0C for ; Sun, 4 Sep 2011 22:58:50 +0000 (UTC) Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward10.mail.yandex.net (Yandex) with ESMTP id 47CD51021589; Mon, 5 Sep 2011 02:58:49 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1315177129; bh=AQsP8UxyZz/jrXvFWE138cNGmoAClEvJBlnmzhVmyGY=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Wz5NkyHPWu7/jUwA7CUtg659LMSbH/YucJdveTbaeFiacsGCb8Dw5c6XM0yUMOWgq uppWqj/+zXveJ/b/qg6PxhfQc1zPkH8fAVVJGJgvEJitn2cayb/lUNveSn6OVHGSj8 RRn5IPEsxwAehLlh6pJ+Eb3Yi5BGtuTur5Qnn/Ig= Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id 29EC615803AE; Mon, 5 Sep 2011 02:58:49 +0400 (MSD) Received: from 46-185-28-188-mltp.broadband.kyivstar.net (46-185-28-188-mltp.broadband.kyivstar.net [46.185.28.188]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wmt8Wq6n; Mon, 5 Sep 2011 02:58:48 +0400 X-Yandex-Spam: 1 Date: Mon, 5 Sep 2011 01:58:48 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <279795679.20110905015848@yandex.ru> To: Marco Beishuizen In-Reply-To: References: <4E5E8A93.1010006@sentex.net> <123778406.20110901225021@yandex.ru> <638737527.20110902093153@yandex.ru> <523859952.20110903211416@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, Mike Tancsa Subject: Re[5]: vpn using pptpclient in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2011 22:58:51 -0000 Здравствуйте, Marco. Вы писали 3 сентября 2011 г., 21:55:37: MB> On Sat, 3 Sep 2011, the wise Коньков Евгений wrote: >> Please describe your networks fully >> >> also I ask to send output of: >> ifconfig >> netstat -nr MB> My computer has IP 192.168.1.11, and sits behind a ADSL router which has MB> IP 192.168.1.1, the router is the gateway to the internet. IP adresses are MB> assigned by DHCP. The vpn network of the university I would like to MB> connect to has the adress vpn-eur-pptp.eur.nl. The IP range of the MB> university is 130.115.x.x. MB> My ifconfig and netstat when mpd5 is not running: MB> em0: flags=8843 metric 0 mtu 1500 MB> options=209b MB> ether 00:0e:0c:3d:e1:6d MB> inet6 fe80::20e:cff:fe3d:e16d%em0 prefixlen 64 scopeid 0x4 MB> inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 MB> nd6 options=3 MB> media: Ethernet autoselect (1000baseT ) MB> status: active MB> fwe0: flags=8802 metric 0 mtu 1500 MB> options=8 MB> ether 02:02:3c:06:08:57 MB> ch 1 dma -1 MB> fwip0: flags=8802 metric 0 mtu 1500 MB> lladdr 0.2.3c.1.1.6.8.57.a.2.ff.fe.0.0.0.0 MB> lo0: flags=8049 metric 0 mtu 16384 MB> options=3 MB> inet 127.0.0.1 netmask 0xff000000 MB> inet6 ::1 prefixlen 128 MB> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 MB> nd6 options=3 MB> Internet: MB> Destination Gateway Flags Refs Use Netif Expire MB> default 192.168.1.1 UGS 0 59590 em0 MB> 127.0.0.1 link#7 UH 0 354 lo0 MB> 192.168.1.0/24 link#4 U 0 92 em0 MB> 192.168.1.11 link#4 UHS 0 0 lo0 MB> My ifconfig and netstat when mpd5 is running: MB> em0: flags=8843 metric 0 mtu 1500 MB> options=209b MB> ether 00:0e:0c:3d:e1:6d MB> inet6 fe80::20e:cff:fe3d:e16d%em0 prefixlen 64 scopeid 0x4 MB> inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 MB> nd6 options=3 MB> media: Ethernet autoselect (1000baseT ) MB> status: active MB> fwe0: flags=8802 metric 0 mtu 1500 MB> options=8 MB> ether 02:02:3c:06:08:57 MB> ch 1 dma -1 MB> fwip0: flags=8802 metric 0 mtu 1500 MB> lladdr 0.2.3c.1.1.6.8.57.a.2.ff.fe.0.0.0.0 MB> lo0: flags=8049 metric 0 mtu 16384 MB> options=3 MB> inet 127.0.0.1 netmask 0xff000000 MB> inet6 ::1 prefixlen 128 MB> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 MB> nd6 options=3 MB> ng0: flags=88d1 metric 0 MB> mtu 1456 MB> inet 130.115.77.12 --> 130.115.3.34 netmask 0xffffffff MB> inet6 fe80::20e:cff:fe3d:e16d%ng0 prefixlen 64 scopeid 0x8 MB> nd6 options=3 MB> Internet: MB> Destination Gateway Flags Refs Use Netif Expire MB> default 192.168.1.1 UGS 0 59807 em0 MB> 127.0.0.1 link#7 UH 0 354 lo0 MB> 130.115.0.0/16 130.115.3.34 UGS 0 0 ng0 MB> 130.115.3.34 link#8 UH 0 4 ng0 MB> 130.115.77.12 link#8 UHS 0 0 lo0 MB> 192.168.1.0/24 link#4 U 0 92 em0 MB> 192.168.1.11 link#4 UHS 0 0 lo0 MB> Hope this clears things up. MB> Regards, MB> Marco As I have so, you 1. Successfully connect to university MB> ng0: flags=88d1 metric 0 MB> mtu 1456 MB> inet 130.115.77.12 --> 130.115.3.34 netmask 0xffffffff MB> inet6 fe80::20e:cff:fe3d:e16d%ng0 prefixlen 64 scopeid 0x8 MB> nd6 options=3 2. You also have route to it MB> 130.115.0.0/16 130.115.3.34 UGS 0 0 ng0 so you are done, are not? -- С уважением, Коньков mailto:kes-kes@yandex.ru