AWS Storage Gateway User Guide
Port Requirements
RuleNetwork
Element
File Share
Type
Protocol
Port Inbound
Outbound
Required?
Notes
1
File share client
NFS
TCP/UDP
Data
111
✓
✓
✓
File sharing data
transfer (for NFS
only)
TCP/UDP
NFS
2049
✓
✓
✓
File sharing data
transfer (for NFS
only)
TCP/UDP
NFSv3
20048
✓
✓
✓
File sharing data
transfer (for NFS
only)
SMB
TCP/UDP
SMBv2
139
✓
✓
✓
File sharing data
transfer session
service (for SMB
only); replaces
ports 137–139 for
Microsoft Windows
NT and later
TCP/UDP
SMBv3
445
✓
✓
✓
File sharing data
transfer session
service (for SMB
only); replaces
ports 137–139 for
Microsoft Windows
NT and later
2
Web browser
NFS and
SMB
TCP HTTP
80
✓
✓
✓
AWS Management
Console (activation
only)
TCP HTTPS
443
✓
✓
✓
AWS Management
Console (all other
operations)
3
DNS
NFS and
SMB
TCP/UDP
DNS
53
✓
✓
✓
IP name resolution
4
NTP
NFS and
SMB
UDP NTP
123
✓
✓
✓
Time synchronization
service
5
Microsoft Active
Directory
SMB
UDP
NetBIOS
137
✓
✓
✓
Name service (not
used for NFS)
UDP
NetBIOS
138
✓
✓
✓
Datagram service
TCP LDAP
389
✓
✓
Directory System
Agent (DSA); client
connection
TCP LDAPS
636
✓
✓
LDAPS—Lightweight
Directory Access
Protocol (LDAP) over
API Version 2013-06-30
390