How do you access “none default ports” on your DBaaS VM…

How do you access “none default ports” on your DBaaS VM server?

How do you access “none default ports” on your DBaaS VM server?

A.
Review a file calledportlist.iniin your installation directory to acquire the list of “none
default ports” that are assigned to your VM server.

B.
You file a service request with your DBaaS support team to have the “none default
ports” opened for use.

C.
You create an SSH tunnel to the “none default port”.

D.
All communication to DBaaS services must be configured only by using the default ports
that are assigned to your VM server during the installation of yourDBaaS instances.

Explanation:
To enable access to a compute node port, you enable the appropriate security rule.When
you enable one of the predefined security rules, the given port on the computenode is
opened to the public internet. To enable access to a different port, or restrictaccess to a
port, you must create a security rule.
Note:When a database deployment is created, the following Oracle Compute Cloud
Servicesecurity rules are created, but set to a disabled status.
References: Using Oracle Database Cloud Service (February 2017), page 3-7
https://docs.oracle.com/en/cloud/paas/database-dbaas-cloud/csdbi/using-oracle-databasecloud-service.pdf



Leave a Reply 9

Your email address will not be published. Required fields are marked *


Ivan

Ivan

Hi all, could please confirm the correct answer is C?

Blabla

Blabla

It’s not c.
An ssh tunnel would go to port 22.
Ssh port forwarding would require the other port it’s being forwarded to, to be open.
Setting up the tunneling itself does not open any non default ports.

yourmom

yourmom

I think am wrong.
I believe the correct answer is C.

I have read several parts of the DBCS student manual that comes with the official training, and it explicitly states that SSH tunneling does not require the port to be unblocked.

ssh -i private-key-file -L local-port:target-ip-address:target-port opc@target-ip-address

The “target-port” apparently does not actually need to be unblocked for that ssh tunnel to still work.

colu

colu

Mario, all. Is C.

doc123

doc123

B is correct. Don’t go with C. Following reference.

How to open the server ports for remote access?

IMPORTANT: Making this application’s network ports public is a significant security risk. You are strongly advised to only allow access to those ports from trusted networks. If, for development purposes, you need to access from outside of a trusted network, please do not allow access to those ports via a public IP address. Instead, use a secure channel such as a VPN or an SSH tunnel. Follow these instructions to remotely connect safely and reliably.

By default, Oracle Cloud Infrastructure Classic servers have some or all of their ports closed to secure them against external attacks. In some cases, ports needed for specific applications to operate properly are also left open by default.

If you need to access your server remotely using a different port, you must first open the necessary port(s) using the Oracle Cloud Infrastructure Classic Console.https://docs.bitnami.com/oracle/faq/