plakis
asked on
Need to access an oracle database from wan
I have to access an Oracle database that is behind my firewall. I opened all the ports from the external IP address (which is ours) to another IP (that is also ours from the same group) that is a 1 to 1 Nat to an internal ip address. After installing oracle client 9.2.0.1 on the external server, I am able to tnsping the database. but when I try to use SQLplus I get the following error: ORA-12560 "TNS:protocol adapter error" .
I believe it is an authentication problem because when I connect with a vpn client it connects with SQLplus. What am I missing?
I believe it is an authentication problem because when I connect with a vpn client it connects with SQLplus. What am I missing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is it correct that this will work if I put a Oracle Connection Manager but not with out it?
ASKER
Made sure port 1521 was open on the external exchange server and changed the external port to use 1521 also.
TEST.WORLD =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HO ST=200.1.2 55.5)(PORT =1610)) # external IP address
(ADDRESS=(PROTOCOL=tcp)(HO ST=10.1.54 .127)(PORT =1521))) # internal IP address
(CONNECT_DATA=(SID = TEST))
(SOURCE_ROUTE = yes))
Thanks
TEST.WORLD =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HO
(ADDRESS=(PROTOCOL=tcp)(HO
(CONNECT_DATA=(SID = TEST))
(SOURCE_ROUTE = yes))
Thanks
There are issues with NAT and SQL Connections. Please see metalink note 90707.1 Connecting to Database Through a Network Address Translator for further details.
Pradeep George
Oracle Certified Master.