From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 14:03:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD06F16A4CE for ; Tue, 31 Aug 2004 14:03:46 +0000 (GMT) Received: from ls401.htnet.hr (ls401.htnet.hr [195.29.150.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D66843D31 for ; Tue, 31 Aug 2004 14:03:45 +0000 (GMT) (envelope-from lycanthrope@post.htnet.hr) Received: from ls401.htnet.hr (localhost.localdomain [127.0.0.1]) by ls401.htnet.hr (0.0.0/8.12.10) with ESMTP id i7VE3h2u025867 for ; Tue, 31 Aug 2004 16:03:43 +0200 Received: from jkhahhytncost7 (194-152-215-96.adsl.net.htnet.hr [194.152.215.96]) by ls401.htnet.hr (0.0.0/8.12.10) with SMTP id i7VE3gxa025845 for ; Tue, 31 Aug 2004 16:03:42 +0200 Message-ID: <000a01c48f63$093180f0$1205a8c0@jkhahhytncost7> From: "lycanthrope" To: Date: Tue, 31 Aug 2004 16:01:37 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4942.400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4942.400 X-Trace: ls401.htnet.hr 1093961023 22196 194.152.215.96 (Tue, 31 Aug 2004 16:03:43 +0200) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: VPN poptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 14:03:46 -0000 Hello! I'm using pptpd (PoPToP) on my server to enable clients on LAN to access = internet (DSL connected to ethernet card on server). That works = perfectly. Users dial VPN to the server,log in and can surf freely. Now, I would like to enable internet users to access LAN resources. = Server has a registered DNS name, and is pingable from the internet. = Simple VPN connection doesnt work-internet clients connect to server,but = can not access (ping) LAN users. This is pptpd configuration: /usr/local/etc/pptpd.conf: option /etc/ppp/ppp.conf localip 172.16.99.1 remoteip 172.16.99.15-113 pidfile /var/run/pptpd.pid ----- /etc/ppp/ppp.conf papchap: set device PPPoE:ed0 set speed sync set mru 1492 set mtu 1492 set ctsrts off enable lqr set log phase tun add default HISADDR enable dns set authname jbek03@htnet-dsl set authkey KR24N8DE pptp: set timeout 0 set log phase chat connect lcp ipcp set dial set login set ifaddr 172.16.99.1 172.16.99.15-172.16.99.113 255.255.255.0 set server /tmp/loop "" 0177 enable chap disable pap enable proxy accept dns set dns 195.29.150.3 195.29.150.4 set device !/etc/ppp/secure ---- papchap section of ppp.conf is DSL dialing portion, and pptp is the VPN = part. So, how to enable internet users to access server LAN via VPN, and keep = LAN users's capability to access internet via VPN? Thank You VERY much! Regards, Marin