From owner-freebsd-questions Tue Jun 27 21:17: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wat-border.sentex.ca (waterloo-hespler.sentex.ca [199.212.135.66]) by hub.freebsd.org (Postfix) with ESMTP id 2548137B6D2 for ; Tue, 27 Jun 2000 21:16:57 -0700 (PDT) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by wat-border.sentex.ca (8.9.3/8.9.3) with ESMTP id AAA18268; Wed, 28 Jun 2000 00:16:54 -0400 (EDT) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id AAA08869; Wed, 28 Jun 2000 00:16:54 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: xavier@labna.itmerida.mx ("Xavier Alfeirán S.") Cc: questions@freebsd.org Subject: Re: Preparing to install NATD Date: Wed, 28 Jun 2000 04:12:29 GMT Message-ID: <39597a3c.286336339@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27 Jun 2000 14:13:16 -0400, in sentex.lists.freebsd.questions you wrote: >I'm want to configure NATD, on a Pentium II, FreeBSD 4.0 box, it s >connected to a NT LAN, I'm going to used as a proxy, Where, all the >computers are in the same net. I thought that I would need two NIC's so >I put them, and gave this configuration: >device IP Gateway host name >fxp0 200.34.128.7 200.34.128.254 chichen.itmerida.mx >vx0 192.168.0.1 200.34.128.254 nexus.itmerida.mx > >Now, I can see chichen from outside, but not nexus. when I'm in the >console, I can ping chichen, nexus, and the internet, and I have a >response. > >Now, I don't know if I went to far, so I need some advice to configure >this server, so I can take the next step doing the NATD thing. You dont want to see 'nexus' from the outside world. If you want to reach other machines on your 192.168.0.0 netblock, then you can do that with port forwarding and NAT. e.g. in your /etc/natd.conf redirect_port tcp 192.168.0.99:80 80 would 'reverse' forward packets destined to port 80 on 200.34.128.7 to 192.168.0.99 on port 80. The outside world thinks its talking to chicken, when its really talking to a machine inside your network.... I take it the default gateway on chichen is 200.34.128.254 right ? ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message