Before You Begin
This tutorial explains you how to create ingress security rules and enable the sFTP port for the Oracle Cloud Infrastructure (OCI) accounts.
Background
For OCI accounts, after the Oracle Managed File Transfer (MFT) pod is provisioned, you must configure the sFTP server, enable the port 7522, and create an ingress rule from internet to the managed servers, whether or not you use the load balancer. You do not need to create any egress rules for such accounts.
Following are the steps involved in the post-provisioning set up of your cloud service on OCI:
- Set up the MFT sFTP Server. See Setting Up the MFT Embedded sFTP Server
- Create a TCP proxy and a server pool using the Traffic Director Administration Console. See Configuring Oracle Traffic Director (OTD) for MFT Embedded Servers
- Create security rules - this tutorial explains creating security rules for OCI accounts.
What Do You Need?
For this tutorial, the following information is needed:
- A paid or trial subscription to Oracle SOA Cloud Service.
- Region in which the pod is provisioned such as us-ashburn-1 or us-phoenix-1
- Oracle Cloud Infrastructure login URL for example https://console.us-ashburn-1.oraclecloud.com
- Availability Domain
- Cloud Tenant Name - oic1
- User ID and password
- Compartment Name – MockCompartment
- VCN Name – vcn20180329
- Subnet Name – Public Subnet bacH:US-ASHBURN-AD-1
Collect Required Information to Create Security Rules
You need to have the above mentioned tenant information about your Oracle Cloud Infrastructure account handy when creating the security rules.
You can get the above detailed information when creating an instance on the Create Instance page as shown below:
or after creating the pod, on the Instances page:
Once you have all the required information mentioned above, start creating the security rules in the OCI console by executing the following steps.
Create Access Rules
- Access the OCI console URL, for example https://console.us-ashburn-1.oraclecloud.com
- Enter the Cloud Tenant name. For example oic1.
- Enter the User Name and Password.
- After login, console Home page is shown. Select Menu from the top left corner of the page.
- Select Networking, and then Virtual Cloud Networks.
- Select the Compartment name from the list. For example Ex MockCompartment.
- On the selected compartment, you will see available VCNs. Select your Virtual Cloud Network name, for example Ex vcn20180329.
- On the selected VCN, you will see subnets in the compartment. In the subnet, click the link Security Lists: Default Security List for vcn20180329 on the right side of the row to create security rules for the selected subnet. If you want to create security rules for all the subnets in the compartment, click Security Lists on the left panel.
- Click Edit All Rules.
- Add an ingress rule for port 7522 by setting the values as shown below:
- Source Type – CIDR
- Source CIDR – 0.0.0.0/0
- IP Protocol – TCP
- Source Port Range – All
- Destination Port Range - 7522
- Click Save Security List Rules to save the security rules.