2 lame questions (ipfw, keyboard driver)

Julian Elischer julian at elischer.org
Thu Dec 22 10:45:46 PST 2005


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list