Date: Fri, 23 Dec 2005 19:36:19 +0100 From: "OxY" <oxy@field.hu> To: "Julian Elischer" <julian@elischer.org> Cc: freebsd-hackers@freebsd.org Subject: Re: 2 lame questions (ipfw, keyboard driver) Message-ID: <000b01c607ef$c5a438d0$0201a8c0@oxy> References: <000501c6070d$89fa7660$0201a8c0@oxy><43AAF458.7070805@elischer.org> <004101c607d0$407c5580$0201a8c0@oxy>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <oxy@field.hu> To: "Julian Elischer" <julian@elischer.org> Cc: <freebsd-hackers@freebsd.org> 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" <julian@elischer.org> > To: "OxY" <oxy@field.hu> > Cc: <freebsd-hackers@freebsd.org> > 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c607ef$c5a438d0$0201a8c0>