From owner-freebsd-questions@FreeBSD.ORG Tue Dec 22 13:24:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D8281065679 for ; Tue, 22 Dec 2009 13:24:16 +0000 (UTC) (envelope-from tscolari@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id DB2768FC0A for ; Tue, 22 Dec 2009 13:24:15 +0000 (UTC) Received: by pwi15 with SMTP id 15so4148042pwi.3 for ; Tue, 22 Dec 2009 05:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=aqTnZHZIs/yh93mgEG07Cd7fuwOxJL3InBD345+2+Y4=; b=i49gf28NM48UAjXSeBLq5pc6xmkcnaInb3A5+ALUPVgUnvXiM/BonHkSFp0njdNvZ6 G5sBnyF+tXw7G2mL1uj/a+HlCfhjOMhBLg8TBrF8L/+1RQLQJ/TH7jLVk/cjM6xld2kW byWm4Mnwp0/Qd5ayQLfjIUgMWL/z9K0ORw03E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=K7n/UX/6S4CzwSj1sziM+iTgXPo6T+ioebJOt3+51ahA2taBRmJrbYyVxqJcECDuq0 TZDaGWrbezAQmTO/ifaPzYRyludDd0QXZwlYL311+yScaPmbx3fGoXbF7oi3Mvij5i1n +zY1Bx/W6QLF7WX6M7Zv1E9ayoHwAJKg052kk= MIME-Version: 1.0 Received: by 10.142.66.6 with SMTP id o6mr436708wfa.342.1261486810125; Tue, 22 Dec 2009 05:00:10 -0800 (PST) From: Tiago Date: Tue, 22 Dec 2009 10:59:50 -0200 Message-ID: <614b39480912220459l378faa15ufa7514ce2c1d5825@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Help with ipfw please 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, 22 Dec 2009 13:24:16 -0000 Im trying to add a basic rule in my ipfw. My server has 2 network address, one for external access (x.x.x.x) and other for the local network(y.y.y.y). The mysql is binded to the local network, but I would like to allow my home computer (z.z.z.z) to connect to the mysql by the external ip. so basicaly im trying to do is: if request comes from z.z.z.z to y.y.y.y:3306 redirect to x.x.x.x:3306 I tryed some configuration but I ended locked outside the machine...