From owner-freebsd-ipfw@FreeBSD.ORG Wed Jan 26 14:45:12 2005 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE84516A4CE for ; Wed, 26 Jan 2005 14:45:12 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EFFA43D54 for ; Wed, 26 Jan 2005 14:45:12 +0000 (GMT) (envelope-from ogurhan@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so58157wri for ; Wed, 26 Jan 2005 06:45:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=W42JH2nagFaYhJLBAiZofp9u+OE6O+9sdEWV12QWu2H3pkaEaVibkVSuAgfSC1vMPxFPcv1ueGDxHhNHaOZbn0XVHmivP9tzGF4NkOeGn2MlNwnawKD8+jX7alUgLz9fD28RpmgmUnt3lCnB80pjRMkuEPp1HuvDNazhpNTJiW0= Received: by 10.54.47.54 with SMTP id u54mr139079wru; Wed, 26 Jan 2005 06:45:08 -0800 (PST) Received: by 10.54.48.32 with HTTP; Wed, 26 Jan 2005 06:45:08 -0800 (PST) Message-ID: Date: Wed, 26 Jan 2005 17:45:08 +0300 From: Onur Gurhan To: freebsd-ipfw@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Subject: Need some Unix help Please! X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Onur Gurhan List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 14:45:12 -0000 Hello, I need some help with Ipfw if you could be so kind, I'm having some difficulty setting up the port forwarding at my office and was wondering if your could help me out... here's how the network is: we have and internal regular "office" network.. with their own DSL using a dsl modem as a router..they use static IP's and use the DSL gateway.. then there's a secondary Internet connection which is a dedicated Sattelite Dish with a static IP for our webserver. Here's the dilemma: I'm using a Dual proc G5 Xserve running OS 10.3.7 as the firewall/NAT/DHCP only a few VIP's get to use the sat dish for net. so most of it's bandwidth is dedicated to our server for hosting our site.. the problem i'm facing is configuring the port forwarding.. the Xserve has 2 nic's... en0 is 84.11.14.5 which is the Static IP for the WAN en1 is 192.168.0.3 the LAN/router/gateway IP.... the webserver is 192.168.0.11 basically: when people type "84.11.14.5" and (whatever DNS we attach to it later) into their web browser.. they should recieve the webpage hosted on 192.168.0.11. I want to forward ports 80 and 22. sounds simple enough.. maybe i'm just missing something... I scoured the net and found a small "port forwarding" guide... in which u edit the natd.plist file... but it didn't work out for me... here's the link: http://www.labo-apple.com/en/articles/os+x+server/s+x+server-277 the NAT worked.. when i have the interface set to en1. so it was working internally only.. i couldn't reach the internet and no one from the internet could reach it either..set to en0 the internet NAT'ing worked but then the webserver didn't work... If your could help I would really appreciate it, I'm really in a Jam Thank you, Onur Gurhan