zoukankan      html  css  js  c++  java
  • configure windows 2008 server r2 ftp

    新建ftp站点
       http://www.iis.net/learn/publish/using-the-ftp-service/creating-a-new-ftp-site-in-iis-7
    配置防火墙,允许远程登录ftp站点
       http://www.iis.net/learn/publish/using-the-ftp-service/configuring-ftp-firewall-settings-in-iis-7#Step3
    Using FTP Virtual Host Names in IIS 7
       http://www.iis.net/learn/publish/using-the-ftp-service/using-ftp-virtual-host-names-in-iis-7

    ICACLS.exe: http://ss64.com/nt/icacls.html

    IIS 7.5 The FTP 7.5 service ships as a feature for IIS 7.5 in Windows 7 and Windows Server 2008 R2.
    ICACLS "%SystemDrive%inetpubftproot" /Grant IUSR:R /T
    The IUSR is a legacy account for anonymous access.
    Change file and folder permissions - display or modify Access Control Lists (ACLs) for files and folders.
    /grant Grant access rights
    /T Traverse all subfolders to match files/directories.

    /* Configure the FTP service to only use a limited number of ports for passive mode FTP */

    In the IIS 7.0 Manager, in the Connections pane, click the top node for your server.
    In the details pane, double-click FTP Firewall Support.
    Enter the range of port numbers that you want the FTP service to use. For example, 41000-41099 allows the server to support 100 passive mode data connections simultaneously.
    Enter the external IPv4 address of the firewall through which the data connections arrive.
    In the Actions pane, click Apply to save your settings.
    You must also create a firewall rule on the FTP server to allow inbound connections on the ports you configured in the previous procedure. Although you could create a rule that specifies the ports by number, it is easier to create a rule that opens any port on which the FTP service is listening. You limit the ports on which FTP is listening by following the steps in the previous procedure.
    Configure an inbound firewall rule to allow inbound FTP connections to only the ports on which FTP is listening

    Open an Administrator command-prompt. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
    Run the following command:
    netsh advfirewall firewall add rule name=”FTP Service” action=allow service=ftpsvc protocol=TCP dir=in
    Finally, disable stateful FTP filtering so that the firewall does not block any FTP traffic.
    netsh advfirewall set global StatefulFTP disable

  • 相关阅读:
    排列算法问题
    g00 网站说明
    leetcode 401. Binary Watch
    滴滴快车奖励政策,高峰奖励,翻倍奖励,按成交率,指派单数分级(1月7日)
    北京Uber优步司机奖励政策(1月6日)
    滴滴快车奖励政策,高峰奖励,翻倍奖励,按成交率,指派单数分级(1月6日)
    北京Uber优步司机奖励政策(1月5日)
    滴滴快车奖励政策,高峰奖励,翻倍奖励,按成交率,指派单数分级(1月5日)
    全国Uber优步司机奖励政策 (12月28日-1月3日)
    全国Uber优步司机奖励政策 (1月4日-1月10日)
  • 原文地址:https://www.cnblogs.com/qike/p/4669142.html
Copyright © 2011-2022 走看看