From owner-freebsd-net Fri Nov 15 0:40:25 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06CFC37B401 for ; Fri, 15 Nov 2002 00:40:24 -0800 (PST) Received: from wattres.Watt.COM (dsl093-133-130.sfo2.dsl.speakeasy.net [66.93.133.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84D8143E42 for ; Fri, 15 Nov 2002 00:40:23 -0800 (PST) (envelope-from steve@Watt.COM) Received: (from steve@localhost) by wattres.Watt.COM (8.12.6/8.12.6) id gAF8eNri047989 for net@freebsd.org; Fri, 15 Nov 2002 00:40:23 -0800 (PST) (envelope-from steve) Message-Id: <200211150840.gAF8eNri047989@wattres.Watt.COM> From: steve@Watt.COM (Steve Watt) Date: Fri, 15 Nov 2002 00:40:23 -0800 X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: net@freebsd.org Subject: MPD UDP setup Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Everyone's favorite, I know. :) I'm trying to set up an MPD-based configuration that does the same thing as my current userland-ppp setup. The current setup is that the remote network is connected to a FreeBSD-Ancient (3-STABLE) box, which is then running a userland ppp over udp to the local network. The remote always initiates the connection. My box is a 4-STABLE, and I'm currently using "ppp -direct vpn-in" started from inetd to field the packets. What I'd like to do is use mpd instead of inetd, but I'm having a bit of an argument getting the link set up correctly. What I have on the local end is: (bit of mpd.conf) netremote: new -i ng0 netremote netremote set bundle disable multilink set iface disable on-demand set iface route 192.168.242.0/24 set link enable acfcomp protocomp set link enable chap set link keep-alive 10 60 set link mtu 1460 set ipcp yes vjcomp set ipcp ranges 192.168.241.10/32 192.168.242.0/24 set ipcp dns 192.168.241.10 open iface and in the mpd.links file: netremote: set link type udp set udp self [my-global-ip-address] 3141 set udp peer [their-global-ip-addr] 3141 When I try to start mpd, I get the following in my error log, and don't see anything bound to UDP:3141... Nov 14 23:57:59 wattres mpd: [netremote] can't bind ksocket node: Invalid argument I'm puzzled. Thanks, (p.s. Not subscribed to freebsd-net, so include me in replies. Yes, I did search the archives first.) -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8" / 37N 20' 14.9" Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message