From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 22 15:36:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 522F516A41F for ; Thu, 22 Dec 2005 15:36:52 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89E2C43D5E for ; Thu, 22 Dec 2005 15:36:50 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 97A0C10198F for ; Thu, 22 Dec 2005 16:36:48 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09084-25 for ; Thu, 22 Dec 2005 16:36:47 +0100 (CET) Received: from oxy (dsl217-197-189-123.pool.tvnet.hu [217.197.189.123]) by dumballah.tvnet.hu (Postfix) with SMTP id 1CEEC1019B8 for ; Thu, 22 Dec 2005 16:36:46 +0100 (CET) Message-ID: <000501c6070d$89fa7660$0201a8c0@oxy> From: "OxY" To: Date: Thu, 22 Dec 2005 16:36:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Subject: 2 lame questions (ipfw, keyboard driver) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 15:36:52 -0000 hi! i have two lame questions, one about ipfw port forwarding, and an other about keyboard driver... 1, i have a box with public ip 195.70.x.x and openvpn 10.254.0.14 ip.. i'd like to accept connections on my public ip's y port and forward it to my 10.254.64.14 port 22.. is this possible? first i tried ipfw forward rule $cmd 00310 fwd 10.254.64.10,22 tcp from any to 195.70.x.x 1634 , but it said conn refused.... do i need divert? i don't know the syntax, coz i don't understand it from the manpage.. i tried natd with -redirect_port, failed too... 2, my box is in co-loc and when i reboot it OS doesn't load atkbd, then when i ask for console i can't use my keyboard.. how can i make it to always load the atkbd driver? i read the freebsd manpage and checked device hints: plummy root# cat /boot/device.hints |grep atkbd hint.atkbdc.0.at="isa" hint.atkbdc.0.port="0x060" hint.atkbd.0.at="atkbdc" hint.atkbd.0.irq="1" but whatever i tried to change didn't helped.. thanks for help!