Date: Mon, 3 May 1999 19:22:08 -0700 (MST) From: Ryan Mooney <ryan@pcslink.com> To: mag@ipc.ru Cc: freebsd-net@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG Subject: Re: problem with natd Message-ID: <199905040222.TAA22536@pcslink.com> In-Reply-To: <372E5326.74CEDF33@ipc.ru> from "Alexey G. Misurenko" at "May 4, 99 05:53:42 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> Ok problem is > I have network inetface lnc3 with 2 ip address (A.A.A.A & B.B.B.B) > I want next think: > If destenation address is in X.X.X.X/N > then divert them to natd > else pass throuht lnc3 witout modification > > I try to use next command construction > > % natd -a B.B.B.B > % ipfw flush > % ipfw add 10 divert natd all from any to X.X.X.X/N via lnc3 % ipfw add 10 divert natd all from X.X.X.X/N to any via lnc3 The via is optional, but clarifies things (at least for me) that traffic only gets nat'd on traversing that interface. > % ipfw add 11 pass all from any to any > > And %( This is don't work - I can't see any host in X.X.X.X/N Dumb question, but you CAN see X.X.X.X/N from the BSD box w/o nat right? >-=-=-=-=-=-=-<>-=-=-=-=-=-<>-=-=-=-=-=-<>-=-=-=-=-=-<>-=-=-=-=-=-=-< Ryan Mooney Phone (602)265-9188 PCSLink ryan@pcslink.com Internet Services NT is an excellent choice for managers who need to show that they used up their fiscal year budget for hardware/software expenditures. <-=-=-=-=-=-=-><-=-=-=-=-=-><-=-=-=-=-=-><-=-=-=-=-=-><-=-=-=-=-=-=-> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905040222.TAA22536>