windows 2008 iis ftp 被动模式的默认端口范围

The dynamic port range in earlier versions of Windows was 1025-5000. This was changed in Windows Vista and Windows Server 2008 to comply with Internet Assigned Numbers Authority (IANA) recommendations about using ports. If you deploy Windows Vista or Windows Server 2008 in your network, and you use firewalls to restrict traffic on your internal network, you must update those firewalls with the new port range. For more information, see "The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008" on the Microsoft Help and Support site.

新的默认起始端口 49152,且默认结束端口为 65535

修改端口范围
You should configure your firewall to accept traffic over a smaller range of ports. Then configure the Data Channel Port Range for the FTP server so only that range of ports is used for passive connections.

To configure the data channel port range
Open IIS 管理器.
In the Connections pane, select the server node.
In Features View, double-click FTP Firewall Support.
In the Data Channel Port Range box, type a range of port numbers (separated by a hyphen). For example, type 5000-6000. Or type 0-0 to use the default port range specified in Windows TCP/IP settings.
note备注 Do not use ports 0-1024 because these are reserved ports.
In the Actions pane, click Apply.

参考
http://blog.51cto.com/netside/1359368

© 2018, 新之助meow. 原创文章转载请注明: 转载自http://www.xinmeow.com

0.00 avg. rating (0% score) - 0 votes
点赞