From owner-freebsd-questions@FreeBSD.ORG Tue Jan 24 06:10:23 2006 Return-Path: X-Original-To: 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 6D4ED16A41F for ; Tue, 24 Jan 2006 06:10:23 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E2B43D49 for ; Tue, 24 Jan 2006 06:10:22 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: by uproxy.gmail.com with SMTP id j3so128010ugf for ; Mon, 23 Jan 2006 22:10:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KAp2T4OdOeug1+8JotOohdT6/HibsblGPLPh5ss9tKdKdTSCf4SbfPC8pF07RErswl3S41ayh+4NcXgxW9ePVY+cYWJlf3mwv6iByyCfKve/YHLrVOd6+wZL8hx9/CApw/m0l8DibRtF05vD5ELfPNaWW6jdLR5rGSR1e/NLqDs= Received: by 10.49.41.9 with SMTP id t9mr416243nfj; Mon, 23 Jan 2006 21:41:27 -0800 (PST) Received: by 10.48.108.14 with HTTP; Mon, 23 Jan 2006 21:41:27 -0800 (PST) Message-ID: <5ceb5d550601232141x74879d8ek38c80c886b28be4a@mail.gmail.com> Date: Tue, 24 Jan 2006 06:41:27 +0100 From: "Daniel A." To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Port forwarding. 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, 24 Jan 2006 06:10:23 -0000 Hello people, Just yesterday I got my first experience with ipfilter and ipnat. I followed this guide: http://www.bsdguides.org/guides/freebsd/networking/ipfilter.php to the point. ifconfig -a gives this output about the relevant NIC's: sis0: flags=3D8843 mtu 1500 options=3D8 inet6 fe80::20a:e6ff:fe53:fc1e%sis0 prefixlen 64 scopeid 0x2 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:0a:e6:53:fc:1e media: Ethernet autoselect (100baseTX ) status: active rl0: flags=3D8843 mtu 1500 options=3D8 inet6 fe80::2b0:2ff:fe00:27f3%rl0 prefixlen 64 scopeid 0x3 inet 87.50.69.60 netmask 0xffffff80 broadcast 87.50.69.127 ether 00:b0:02:00:27:f3 media: Ethernet autoselect (100baseTX ) status: active I have been googling and reading ifconfig papers all day yesterday, in the search for how to do simple port-forwarding, but nothing have worked. So, this is my final resort: How would I forward the ports 9541 (TCP) and 9542 (UDP) to 192.168.0.2 on my LAN?