Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 04:12:29 GMT
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
Message-ID:  <39597a3c.286336339@mail.sentex.net>
In-Reply-To: <SEN.962129596.552375714@news.sentex.net>
References:  <SEN.962129596.552375714@news.sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39597a3c.286336339>