From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 23 18:36:13 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 3177F16A41F for ; Fri, 23 Dec 2005 18:36:13 +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 638A843D5F for ; Fri, 23 Dec 2005 18:36:12 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id CC9211017A1; Fri, 23 Dec 2005 19:36:10 +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 21316-15; Fri, 23 Dec 2005 19:36:10 +0100 (CET) Received: from oxy (dsl195-38-115-34.pool.tvnet.hu [195.38.115.34]) by dumballah.tvnet.hu (Postfix) with SMTP id EE9B410188A; Fri, 23 Dec 2005 19:36:07 +0100 (CET) Message-ID: <000b01c607ef$c5a438d0$0201a8c0@oxy> From: "OxY" To: "Julian Elischer" References: <000501c6070d$89fa7660$0201a8c0@oxy><43AAF458.7070805@elischer.org> <004101c607d0$407c5580$0201a8c0@oxy> Date: Fri, 23 Dec 2005 19:36:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=response 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 Cc: freebsd-hackers@freebsd.org Subject: Re: 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: Fri, 23 Dec 2005 18:36:13 -0000 whatever i give to ipfw rule after fwd it forwards me to my box: port for example... fwd 10.254.64.10,22 tcp from any to 195.70.x.x it is forwarding me to 195.70.x.x port 22 what's wrong? ----- Original Message ----- From: "OxY" To: "Julian Elischer" Cc: Sent: Friday, December 23, 2005 3:50 PM Subject: Re: 2 lame questions (ipfw, keyboard driver) > yeah, it's 10.254.64.14 is the other machine in my vpn... > so not the machine, and 22 port is enabled, > i can use it by 'ssh 10.254.64.14 ' > > options IPFIREWALL_FORWARD is in my kernel > > root# ipfw show 310 > 00310 4 204 fwd 10.254.64.10,2233 tcp from any to 195.70.x.x > dst-port 16345 > > from outside it says: > > su-2.05b# telnet 195.70.x.x16345 > Trying 195.70.x.x... > telnet: connect to address 195.70.x.x: Connection refused > telnet: Unable to connect to remote host > > ----- Original Message ----- > From: "Julian Elischer" > To: "OxY" > Cc: > Sent: Thursday, December 22, 2005 7:45 PM > Subject: Re: 2 lame questions (ipfw, keyboard driver) > > >> OxY wrote: >> >>> 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.... >> >> >> that should work.. >> is there something listenning on 10.254.64.10,22 ? >> 10.254.64.14 and 195.70.x.x are the same machine? >> >> do you have >> >> options IPFIREWALL_FORWARD #enable transparent proxy support >> >> in your kernel? >> >> is the rule being used? >> (use "ipfw show 00310" to see usage counts) >> >> >>> >>> 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! >>> >>> >>> >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to >>> "freebsd-hackers-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"