Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 1999 23:01:20 -0200
From:      "Julian Diego Herrera Braga" <julianherrera@uol.com.br>
To:        <freebsd-ipfw@FreeBSD.ORG>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   En: What about port redirection with ip aliasing ?
Message-ID:  <008401bf1b5f$ceb9f640$8314bfc8@etherial>

next in thread | raw e-mail | index | archive | help
Hello...

One day my computer was without available ISA slots. I installed FreeBSD but
the damned Winmodem doesn't work, so I had a idea to resurrect the other
pentium 100 computer to use its free slots to install an old 14kbps modem.
FreeBSD was also loaded in this computer as a gateway to the other computer
without modem and the internet by ip aliasing (ppp -alias). Since the
gateway computer doesn't have better space (170mb) and power to install some
other programs, I would like to use it only for a gateway. This is the small
LAN :

------------------         ----------------------
| ether.nostromo | serial  | ppprouter.nostromo | 14kbps  ------------
|   192.168.1.2  |---------|     192.168.1.1    |---------| Internet |
------------------ cable   ---------------------- modem   ------------
P2 450Mhz                      Old Pentium 100 Mhz
FreeBSD 3.2                    FreeBSD 3.1
(ppp nullmodem)                (ppp -alias isp)
                               (ppp nullmodem)
                               natd [options]

My problems appeared when I tried to access the client computer from
internet through the gateway. Such connection always finished on the
gateway computer. Finally, what I want to know is how can I get all
the gateway ports from telnetd, ftpd, httpd etc. redirected to the
respective client ports. Basically, is something like to make the
gateway computer ports invisible to the outside computers, so any
connection addressed to its IP will finish into the client computer
(ether.nostromo). Is this possible ? How ? Thank you for the attention.

P.S.: I've used "natd -port_redirect 192.168.1.1:ftp ftp" and nothing has
changed. I tried some other options, but I am not sure what is the best
one. Is there any known natd guide on the internet for FreeBSD ?

Regards,
Julian Herrera mailto:julianherrera@uol.com.br






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?008401bf1b5f$ceb9f640$8314bfc8>