Date: Sun, 16 Dec 2001 21:26:30 +0100 From: "=?ISO-8859-1?Q?Boris_K=F6ster_?=" <koester@x-itec.de> To: freebsd-net@freebsd.org Subject: nat / ipdivert problem - if possible please help Message-ID: <3C1D1186.26005.1F1D48@localhost>
next in thread | raw e-mail | index | archive | help
I have a problem. hope# uname -a FreeBSD hope.hope 4.4-STABLE FreeBSD 4.4-STABLE #2: Fri Dec 14 14:59:52 CE= T 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 (IPFIREW= ALL, IPDIVERT) I don=B4t 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:tel= net But without success. I am experimenting a lot of hours/days on this and I do not know how to co= ntinue, need help. -- Boris K=F6ster [C / C++ / PHP / FreeBSD / Security / Consulting] Maintainer of IPSEC Mini-HowTo | QSP | and more. HTTP://www.x-itec.de * koester@x-itec.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C1D1186.26005.1F1D48>