-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Denis,
This can be easily attained by redirecting the port request. If you can
identify the TCP post that the dB is running on, simply run "RINETD" to
forward the port to the dB server in your LAN.
Usually "RINETD" comes installed in standard Linux package like SuSE 6.1
or RH 5.x and 6.0.
Do a "locate rinetd" and you should find it in "/usr/sbin/rinetd".
Do a "touch /rtc/rinetd.conf" and use your favourite editor, "VI" or
"PICO" to do a simple forwading like this.
# /etc/rinetd.conf
#
# Forward dB TCP request to server in LAN
<your dB server ip alias on the firewall> <port:xx> 192.168.1.x <port:xx>
# Example of a Port 80 (WWW) forward
1.1.1.1 80 192.169.1.11 80
- --
Moonshi Mohsenruddin [EMAIL PROTECTED]
Singapore icq:2595480 http://www.linux.com.sg
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Denis Voitenko
> Sent: Friday, August 20, 1999 10:12 PM
> To: net
> Subject: a gateway construction question
>
>
> I am not sure that there is a solution to my problem but I'd like
> to give it
> a try. I have a small LAN that has a gateway to the net via 100% uptime
> dialup with a static IP running on Slackware 4. On the same LAN I have
> another Linux box that runs a MySQL database with an interface via
> Apache/PHP3. As you could guess, all the IP's on the LAN are from
> 192.168.0.x series. What I'd like to do is to give access to the
> database to
> people on the Internet. So technically whenever someone points the
browser
> to the IP address of the gateway box he'd get onto the box that runs
> Apache/PHP3. It is possible to do?
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i
iQA/AwUBN70jkmefe0TVuy5lEQINiACcDHB2hyRq0P+sFAZrVHsyRqbd0NEAoLSM
sR560v6up/YBrPmcWrHVji+m
=QSSu
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]