Object Storage Bucket Single IP Access

Hello, I am using the following policy to try to allow access to only two ip addresses to my Linode Object Store Bucket but when I apply this policy, the ip addresses I am trying to allow are still denied and I get locked out from the bucket. Does anyone have any ideas as to why that might be so?

{
"Version": "2012-10-17",
"Id": "S3PolicyId1",
"Statement": [
{
"Sid": "IPAllow",
"Effect": "Deny",
"Principal": "", "Action": "s3:",
"Resource": [
"arn:aws:s3:::test12345678901",
"arn:aws:s3:::test12345678901/*"
],
"Condition": {
"NotIpAddress": {
"aws:SourceIp": "177.81.143.74/32",
"aws:SourceIp": "175.83.141.76/32"
}
}
}
]
}

Thanks

1 Reply

Note, there are stars for the principle and the action, but, they didn't show up when I posted it here.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct