From owner-freebsd-questions Thu Nov 21 3:10:59 2002 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 9A73137B401; Thu, 21 Nov 2002 03:10:56 -0800 (PST) Received: from mail.yazzy.org (mail.yazzy.org [80.232.16.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F83343E88; Thu, 21 Nov 2002 03:10:55 -0800 (PST) (envelope-from yazzy@ezunix.org) Received: by mail.yazzy.org (Postfix, from userid 1001) id 27FFEA94E; Thu, 21 Nov 2002 11:38:02 +0100 (CET) Date: Thu, 21 Nov 2002 11:38:02 +0100 From: "Marcin M. Jessa" To: freebsd-isp@freebsd.org, freebsd-questions@freebsd.org Subject: mpd Message-ID: <20021121103802.GA4752@yazzy.org> Reply-To: Marcin Jessa Mail-Followup-To: freebsd-isp@freebsd.org, freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: ezUnix.org X-Operating-System: FreeBSD 4.7-RELEASE i386 11:27AM up 3 days, 19:04, 2 users, load averages: 0.08, 0.03, 0.01 X-Editor: Vim http://www.vim.org/ X-Mailer: Mutt http://www.mutt.org/ X-Info: http://www.ezunix.org/ User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy I have tried to install a server with VPN over pptp using mpd from ports. It starts fine but I cannot connect to it and nothing goes to /var/log/ppp.log The VPN box is my firewall. I am trying to connect to it from Windows2K with static inet IP creating connection directly to the outside inet IP of my VPN FreeBSD firewall. I have also this rule in my firewall script: ipfw add allow tcp from any to $oip1 1723 keep-state I have this entry in my syslog.conf !ppp *.* /var/log/ppp.log mpd is started with mpd -b option. sockstat -l4 doesnt show mpd either, i donno if it should tho... Any idea why it fails? The config files are following: /usr/local/etc/mpd/mpd.conf : vpn: load pptp pptp: new -i ng0 pptp pptp set iface disable on-demand set iface idle 1800 set bundle enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set link mtu 1460 set ipcp yes vjcomp # set ipcp ranges 0.0.0.0/0 set ipcp ranges 192.168.64.10/32 192.168.1.250/32 set ipcp dns 192.168.64.5 set ipcp nbns 192.168.64.3 # # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. # set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 # set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless /usr/local/etc/mpd/mpd.links: vpn: set link type pptp set pptp self 192.168.64.2 set pptp peer 11.223.34.56 set pptp enable originate incoming outcall and /usr/local/etc/mpd/mpd.secret : yazzy "xxxyyyzzz" -- Marcin M. Jessa Software developer/System Administrator Wireless Reading Systems ASA Skreddervn 9 N-1537 Moss Phone: +47 69 27 96 88 Cellular: +47 988 505 44 Just because it works does not make it right. Uptime: 11:27AM up 3 days, 19:04, 2 users, load averages: 0.06, 0.03, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message