From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 09:19:59 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 761C316A41C for ; Tue, 5 Jul 2005 09:19:59 +0000 (GMT) (envelope-from roman@elance.ch) Received: from mail.elance.ch (mail.elance.ch [212.147.33.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id E523443D45 for ; Tue, 5 Jul 2005 09:19:58 +0000 (GMT) (envelope-from roman@elance.ch) Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Tue, 5 Jul 2005 11:20:01 +0200 Message-ID: <0F6AE12F69D1854B9098F77A268ED1302551@hyperion.elance.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Running FreeBSD server behind a firewall with nat Thread-Index: AcWBQrUDmZW1tDmXTtOD9Ta2uT3FBQ== From: "Roman Kouzmenko" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Running FreeBSD server behind a firewall with nat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 09:19:59 -0000 Hi, =20 I'm really new to FreeBSD and UNIX, and I have to configure it to host a webserver. After a week I've managed to install Apache/mySQL/PhP and get everything running as I want it on my local network. =20 Now I need to put it on the Internet, so that the developers can take control over it (ssh, ftp). The problem is that at the moment when I activate one-to-one nat on my hardware firewall for this machine, the services stop working and behave strangely (for example, if I connect to the box using ssh, it prompts for the login and nothing else happens, ftp doesn't work either). If I try to reboot, sendmail doesn't start at all (it just hangs, so I have to hit ^C to stop the script). =20 I haven't found any information about configuring this correctly on the Internet, so I hope I can find an answer here. =20 Thanks!