I have a problem.

hope# uname -a
FreeBSD hope.hope 4.4-STABLE FreeBSD 4.4-STABLE #2: Fri Dec 14 14:59:52 CET
2006 (???)

I have a BSD laptop on 192.168.0.3

I have a BSD server 192.168.0.99

I have a win2k server at 192.168.0.1

I want to route telnet service on .99 to .3
that means if you telnet from .1 to .99 the laptop answers on 3

This feature requires ipfw/natd and I have made a kernel for this (IPFIREWALL,
IPDIVERT)

I don´t know how to continue, i tried this on the bsd server:

/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via ed0
/sbin/ipfw add pass all from any to any
natd -interface ed0 -redirect_port tcp 192.168.0.3:telnet 192.168.0.99:telnet

But without success.

I am experimenting a lot of hours/days on this and I do not know how to continue, need
help.


--
Boris Köster
[C / C++ / PHP / FreeBSD / Security / Consulting]
Maintainer of IPSEC Mini-HowTo | QSP | and more.
HTTP://www.x-itec.de * [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to