From owner-freebsd-pf@FreeBSD.ORG Sun Apr 1 12:44:28 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A181416A403 for ; Sun, 1 Apr 2007 12:44:28 +0000 (UTC) (envelope-from moisadoru@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 33B5D13C4C1 for ; Sun, 1 Apr 2007 12:44:27 +0000 (UTC) (envelope-from moisadoru@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1344659ugh for ; Sun, 01 Apr 2007 05:44:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=agz7ATP9Jm+cmOxB+x+hhEDXtfg7ObZ45K12pXC+nwFQ5j9nZ4so1+l8O9hz9FTc/6bhlfGH7kzzRV35YY3UPY+k16gy9dTTmjDwopzOglBSUbZZOLuFnNVQa9whRKmxDkqmWLjqgLmq+DRNHl2f1PlAlnM4J+iVqEG9BYYxpwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=bnvsmSqw565asG10g3PVpjL/J4tsn8DYChkKoqYIihCBvSjNVBkS1fDnNiaFBBAwdxOnGp/XZ7oP4Yd0Vyx6svFsC287ISP+EuN8pVWJ0MWui3L9++Zn6DHBXie5Fl5JSs3LrUnBTREwJUl5BboktZsbDvC+l/r3C9Sr5OAiNA4= Received: by 10.78.171.13 with SMTP id t13mr1315263hue.1175429958059; Sun, 01 Apr 2007 05:19:18 -0700 (PDT) Received: by 10.78.31.7 with HTTP; Sun, 1 Apr 2007 05:19:18 -0700 (PDT) Message-ID: <1b6d3f540704010519q78a37ee8sd60f8aeb7200a713@mail.gmail.com> Date: Sun, 1 Apr 2007 15:19:18 +0300 From: "Moisa Teodor" To: freebsd-pf@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: home multipurpose gateway/router/server setup help X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2007 12:44:28 -0000 Hello, I wanted to set-up a multipurpose server/gateway/router with an old pc, but ran into some trouble. I have an internet connection from a local ISP (it's not cable or adsl it's ethernet) and a couple of home computers. The ISP has a litle program that needs to run continously in the background (it connects to one of my ISP's servers on port 2400) If that program does not run, i cannot go through the ISP's gateway. In the past i had another box with smoothwall linux, but the motherboard crashed. Anyway, on that box i was able to do the trick. I have installed FreeBSD. Both network cards are working (sis0 and pcn0). I runt the ISP's software and i have internet access. Good. But i want to shre this internet connection with my home LAN. I read somewhere that i need to recompile the kernel and enable packet filtering and firewall (the tutorial i used is located here http://www.lugbe.ch/lostfound/contrib/freebsd_router/). However, when i reboot with the new kernel I cannot connect to any network, neither the ISP's nor my home LAN. I want to use this box as a gateway/router/firewall for my home lan, and also run some services like a web server for my projects, etc. Thanks a lot for your help, and keep up the good work Doru Moisa