Connecting to an Oracle Database¶
User Configuration¶
Go to > and click .
Enter a name (e.g.,
Tunnel_User) and click .Choose the user authentication method:
Select e.g. Static password from the Add authentication method dropdown.
Enter a password for the new user (e.g.,
TestPassw0rd).Click to close the dialog.
Click .
Creating a Listener¶
From the left menu, select > and click .
Enter a unique name (e.g.,
Oracle_Tunnel).Go to the Settings tab and in the Protocol field, press .
In the Connection mode section, select .
From the Local address list, choose an IP and enter the port that will be used for the SSH tunnel (e.g.,
5522).Click .
Note
The Keys field shows generated SSH, TLS, and Standard RDP Security keys and the TLS certificate required for correct operation of a “Tunnel”-type listener.
TCP Server Configuration¶
From the left menu, select > and click .
Enter a name (e.g.,
Oracle_Tunnel_Server).In the Settings section, select as the protocol.
In the Destination section: - Select Host, IPv4 or IPv6. - Enter the Address, Mask, and Port (e.g.,
192.168.0.100,mask:32,port:1521).Click .
Account Configuration¶
Note
To configure the connection, an anonymous account type and raw session recording type are required.
Select > , then click .
Enter a name (e.g.,
Oracle_Tunnel_Account).Set the Session recording option to raw.
In the Settings tab, under Type, select ANONYMOUS.
In the Target section, select the
Oracle_Tunnel_Server.Click .
Safe Configuration¶
Select > , then click .
Enter a name (e.g.,
Tunnel_Safe), click .In the Users tab, click and select
Tunnel_User.Click .
In the Accounts tab, click and select
Oracle_Tunnel_Account.Click .
Select the
Oracle_Tunnel_Account, click , and chooseOracle_Tunnel.Click , then .
PuTTY Configuration¶
Launch PuTTY.
In the Host Name field, enter
<Fudo_user>@<Fudo_IP_address>, e.g.,Tunnel_User@10.0.228.184.In the Port field, enter the port of the Tunnel-type listener created earlier (e.g.,
5522).
Go to the SSH tab and check Don’t start a shell or command at all.
Go to the Tunnels tab and add a forwarded port:
Source port: the port you want to forward (e.g.,
4455).Destination: target server address and port in the format
<destination_server_address>:<port>(e.g.,192.168.0.100:1521).Click Add.
Return to the Sessions tab, save the configuration, and click Open.
Enter the password set for
Tunnel_User(e.g.,TestPassw0rd) and press Enter.The tunnel is established.
Connecting via Oracle Client¶
Launch your Oracle client (e.g., Oracle SQL Developer).
Click New Connection to create a new configuration.
Fill in the fields:
Name – connection name,
Username and Password – database login credentials,
Hostname –
localhost,Port –
4455(as set in PuTTY Source port),Service name – the Oracle database service name (e.g.,
orcl).
Click Connect to establish the connection to the database.
Session List View¶
Once the connection is established, an entry for the session established through the tunnel will appear under > . The following details will be visible:
Fudo username (also if an anonymous account was used),
Session protocol,
Destination server address,
Name of the account used for the connection,
Safe name,
Session start and end time,
Session duration.