From owner-freebsd-net Tue Sep 3 10:45:10 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 17A8E37B400 for ; Tue, 3 Sep 2002 10:45:04 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4773343E81 for ; Tue, 3 Sep 2002 10:45:03 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA07003; Tue, 3 Sep 2002 10:32:15 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g83HUjl80866; Tue, 3 Sep 2002 10:30:45 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209031730.g83HUjl80866@arch20m.dellroad.org> Subject: Re: mpd config help In-Reply-To: <20020903.xoS.76240700@www.houstonbroncos.com> "from Sam Feagins at Sep 3, 2002 04:33:26 pm" To: Sam Feagins Date: Tue, 3 Sep 2002 10:30:45 -0700 (PDT) Cc: freebsd-net@Freebsd.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Sam Feagins writes: > >Try running tcpdump on > >(a) your internal network interface > I can see the ICMP request being sent out but nothing coming back > > >(b) ng0 > Nothing is travelling on this interface > > >(c) your external network interface to see how far packets are getting. > I see the request going out as ICMP, not a PPTP packet. Then your outgoing packets are not being routed via the PPTP link. Try 'ping 192.168.2.240' from an inside machine .. I bet that works, because there *is* a route to 192.168.2.240 already. > >Do you have firewall rules installed? Does the remote server know > >that the route to your internal network is via the PPTP connection > > No firewall at all, Just nat. I've tried with and without nat. > I assume the remote server knows the route, as this scenario > works just fine when I use pptpClient. > > > So apparently it's sending out the packet on my external interface > (fxp1). Here's my routing table w/ the mpd running. > (I cut out the unimportant info) > Destination Gateway > default adsl-64-219-75-198 > 192.168.2 192.168.2.240 > 192.168.2.240 192.168.2.243 > 192.168.10 link#2 > > When I run ifconfig I see ng1 up with the following IP: > inet 192.168.2.243 --> 192.168.2.240 netmask 0xffffffff You need to add a 'set iface route ...' command to your mpd.conf so that your outgoing packets get routed via the PPTP link. You can do this manually via 'route add x.x.x.x/y -interface ng0'. What network(s) are on the other side of the link? Those are the ones you need to add routes for in mpd.conf. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message