Date: Mon, 05 Oct 1998 23:56:33 +0100 From: Brian Somers <brian@Awfulhak.org> To: "Alexey V.Vinogradov" <alexv@Sun.Farlep.Net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: about natd Message-ID: <199810052256.XAA02999@woof.lan.awfulhak.org> In-Reply-To: Your message of "Mon, 05 Oct 1998 19:15:22 %2B0300." <199810051615.TAA05589@Sun.Farlep.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hello, All. > I have: > __________ > | | > vx0 | | vx1 > -----| |--- > | | > |__________| > > at vx0 i have Internet IP N1.N2.N3.N4/N5 > at vx1 i must do Public Network 192.168.M1.0/M2 > Now i do: > - compile kernel with IPDIVERT & IPFIREWALL > - enable gateway > - ifconfig vx1 192.168.M1.1/24 > - running natd -n vx1 > ...and routing not work ;( > > What i do incorrect? The ``192.168.M1.0'' is a private network - there are no such Internet numbers. You need to run natd -n vx0 (running on the Internet interface, *not* the private one). >From the man page: -n | -interface interface Use interface to determine the alias address. If there is a possibility that the IP number associated with interface may change, the -dynamic flag should also be used. If this op- tion is not specified, the -a or -alias_address flag must be used. The specified interface must be the public network interface. ^^^^^^ > --- > Farlep-Internet. > Alexey V.Vinogradov > System Administator. > e-mail: alexv@farlep.net > phone: +(380)-482-210706 > > AVV5-RIPE -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810052256.XAA02999>