From owner-freebsd-questions Tue Sep 22 19:21:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAB00737 for freebsd-questions-outgoing; Tue, 22 Sep 1998 19:21:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA00728 for ; Tue, 22 Sep 1998 19:21:53 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id CAA04289; Wed, 23 Sep 1998 02:37:53 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id CAA29401; Wed, 23 Sep 1998 02:38:07 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809230138.CAA29401@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "James Johnson" cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP Redirect Question In-reply-to: Your message of "Tue, 22 Sep 1998 16:52:19 PDT." <010d01bde684$0a2d3b90$0101a8c0@flashpoint> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 23 Sep 1998 02:37:56 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can you try changing your ``set ifaddr'' line to: set ifaddr 192.168.1.2/0 192.168.1.3 255.255.255.0 0.0.0.0 and see if that helps ? Maybe things are getting confused because you initially assign the NT boxes IP number to the tun interface. However, this shouldn't cause any problems if you're not running with the -auto switch. > Hello, > Well I've gone ahead and reinstalled freebsd 2.2.6. I figure a clean > install would help me debug my problem > > I've got an NT box on my lan at 192.168.1.1 running IIS 4.0 which I want > available to the Outside. The FreeBSD box is at 192.168.1.2 on the lan and > it server as a gateway. It establishes via modem a ppp connection which > gives me a Dynamic IP. To do the redirect I am attempting using the -alias > switch and commands with PPP however it isnt working. > > I can telnet to and from, ping etc all boxes on my lan just fine. > > My ppp.conf file is setup like this > > ---- > default: > alias port tcp 192.168.1.1:http http > alias port udp 192.168.1.1:http http > set device /dev/cuaa1 > set speed 57600 > deny lqr > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 > OK \\dATDT\\T TIMEOUT 40 CONNECT" > > isp: > set phone 1234567 > set login > set authname yaddayadda > set authkey woop > set ifaddr 192.168.1.1/0 192.168.1.2/0 255.255.255.0 0.0.0.0 > delete ALL > add 0 0 HISADDR > > > > I invoke ppp with the following command > > > ppp -alias -ddial isp > > What else could I check to fix this problem? > > oh yeah, of note, I can telnet to my box using the IP my isp assigns me, > just port 80 doesnt redirect to the box on the lan -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message