大网数据广告活动
服务器运维问答

Whitelist both IPv4 and IPv6 in AWS Security Group

· 52CE 我爱测

I am setting up an SFTP server, I want to white list all the IPs in the Security Group so people can connect to it from anywhere. At the moment I am adding 2 rules to the Inbound rules, one rule for IPv4 and one for IPv6: Is ther…

问题原文

原帖链接 · Hooman Bahreini · CC BY-SA 4.0

I am setting up an SFTP server, I want to white list all the IPs in the Security Group so people can connect to it from anywhere.

At the moment I am adding 2 rules to the Inbound rules, one rule for IPv4 and one for IPv6:

Is there anyway that I could whitelist both IP versions in one rule?

已采纳解答

原帖链接 · John Mahowald · CC BY-SA 4.0

Both address families require a rule for each. Note the restriction on source that you can provide one of a IPv4 prefix, or an IPv6 prefix, or some other syntaxes that are also only single single address family.

Some networks can get by as IPv6 only, disable v4 and use transition mechanisms. But most public access services available to anyone on the internet need to be dual stack.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2021-11-02)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。