Firewall URL and Port(s) to open for rclone to S3

Dear All, I am setting up rclone from on-prem server, behind firewall, to AWS S3.
I wish to find out the target URL and port(s) that I should request to the firewall to allow the transfer to go through.

I believe the rclone config that I setup is correct, as I have tested running copy command from another server that is NOT behind a firewall.

Hope somebody have some information to share. Thanks!
Kim

rclone version: v1.48.0
OS: RHEL 7
Cloud Storeage: AWS S3

$ rclone ls s3-cir-dhl-dev:s3-cir-dhl-dev
      179 hosts

$ rclone copy /etc/hosts s3-cir-dhl-dev:s3-cir-dhl-dev/hosts.1
[s3-cir-dhl-dev]
type = s3
provider = AWS
env_auth = false
access_key_id = XXX
secret_access_key = XXX
region = XXX-1
location_constraint = XXX-1
acl = private
server_side_encryption = AES256

You'd want to update that version of rclone as it's ancient.

It will use HTTPS, port 443.

IPs for AWS S3 are here:

https://aws.amazon.com/premiumsupport/knowledge-center/s3-find-ip-address-ranges/

If you do a command with -vv --dump headers then rclone will show the http headers in use - look for the Host: lines - that should show you what rclone is contacting.

Thanks Animosity022 & Nick!
This info is what I need.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.