Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Linux & port-forwarding Oracle connections

Linux & port-forwarding Oracle connections

From: Keith Woolner <keith_at_woolner.com>
Date: 2000/02/14
Message-ID: <MPG.13128d1dc2d19b7e9896e0@nntp1.ba.best.com>#1/1

Hello everyone,

I'm having trouble configuring port-forwarding on a Red Hat 6.1 system to enable clients on the Internet to connect to an Oracle8 database on a Windows system.

I can successfully connect from the Linux box to the Windows Oracle database using Oracle SQL*Plus for Linux.

The Linux box already has a database and web server running, so I want to forward a different port number to the services behind the firewall.

I already have port forwarding successfully working to two web servers on the LAN behind the Linux firewall, using the following commands:

ipmasqadm portfw -a -P tcp -L 200.200.200.200 50080 -R 10.1.1.110 80 ipmasqadm portfw -a -P tcp -L 200.200.200.200 50081 -R 10.1.1.100 80

Given that the Windows listener port is 1521, I would have thought that the following command would have configured port-forwarding for the Oracle database:

ipmasqadm portfw -a -P tcp -L 200.200.200.200 51521 -R 10.1.1.100 1521

However, when I tried to connect from an external client, I get a "could not connect" error. The Oracle database is identified in the tnsnames.ora on the client file with Host=200.200.200.200 and Port=51521. It wasn't obvious from the error where the problem was (the Linux port forwarding or the Oracle listener).

Any ideas? Is there a web page somewhere that describes how to configure this kind of setup?

Thanks in advance for any assistance.

-- 
Keith Woolner   keith@woolner.com  http://www.woolner.com
Received on Mon Feb 14 2000 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US