Can't add IP filter to lightsail network console

0

I'm adding some IP filters in my lightsail network console to allow for FTP traffic. I've got about 10 in there and can't add the last 2. Everything acts like it's working. I click "add another", add the IP xxx.xxx.xxx.0/20 and "save" but the IP never shows on the list, and I can't FTP from that IP. No error is generated. I thought maybe I had too many so I removed one for testing but I still can't add the IP. Whay?

2개 답변
0

I suspect you are going hitting a limit based on the IPs in your rules. Take a look at the following page.

https://repost.aws/knowledge-center/lightsail-considerations-for-use
13. Number of Lightsail firewall rules: You can add up to 60 firewall rules for a Lightsail instance. Each source IP address is considered a different rule. IPv6 rules are counted towards this quota of 60. The maximum number of source IP addresses that can be added in a rule using the Lightsail console is 30. To add more, you can use the AWS CLI.

profile pictureAWS
전문가
iBehr
답변함 일 년 전
  • So if I specify a /24 does that take 256 IPs or 1?

0

Look into this document for more details about specifying IP address range for the firewall rules: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-firewall-and-port-mappings-in-amazon-lightsail#specifying-source-ip-addresses.

If the IP address range you are specifying is part of a previous rule, it won't show up as it's already a part of one of the rules. And if the IP addresses are next to each other, the entries might merge into a single one. For example, if you add a rule with 192.0.0.0/24 and another one with 192.0.1.0/24, they show up in a single entry as 192.0.0.0 -> 192.0.1.255. Make sure that the new IP address range that you are adding is not a part of a rule that already exists and verify if it is getting merged into an already existing rule after adding.

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠