Windows Integrated FTP server configuration –ws08r2 verified

Source: Internet
Author: User
Tags ssl certificate

Environments: Windows Azure in Windows R2 with SP1 virtual machines

Step one: Create a virtual machine in azure

The Create step is no longer detailed

Step two: Bind static public IP and private network IP in Azure virtual machine

P.S. Preventing a restart of the cloud service causes IP changes to affect other application calls or user access

    • Bind private Network IP


1:test-azurestaticvnetip-vnetname eastasiasubnetwork-ipaddress 192.168.0.128

2:

3: $staticVM = get-azurevm-servicename jackyftp-name jackyftp

4:SET-AZURESTATICVNETIP-VM $staticVM-ipaddress 192.168.0.128 | Update-azurevm

5:GET-AZURESTATICVNETIP-VM $staticVM


650) this.width=650; "height=" 446 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/AC/wKiom1WCU2_ Jqiyxaakqctp9tpk880.jpg "border=" 0 "/>

    • Bind Public Network IP
1: # location parameter from Get-azurelocation
2: # Current virtual machine already exists direct access to the current data center provided by the public network IP to the cloud Serive can
3: # Note: Cloud service is a container, a cloud service has only one public IP,
4: # Subordinate multiple virtual machines share this public IP, so only specify cloud Service name here does not specify a virtual machine name
5: # Reservedipname parameter give a non-conflicting name
6:new-azurereservedip-servicename ' jackyftp '-reservedipname ' ftpvip '-location ' East Asia '
7:get-azurereservedip

650) this.width=650; "height=" 381 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/AC/ Wkiom1wcu3ja3bq7aakj48mz9yg878.jpg "border=" 0 "/>

Step three: Install IIS in Windows and select the FTP service

650) this.width=650; "height=" 463 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/AD/ Wkiom1wcu3yrxajkaajkfdlasbu136.jpg "border=" 0 "/>

Step Four: Configure the FTP server

The new FTP server step is skipped by using the wizard next step

After completing all the above steps, you can access the FTP server natively.

Next you need to configure the extranet access

Configuring Authentication Methods

650) this.width=650; "height=" 418 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/AD/ Wkiom1wcu4wwcnsaaak8ansafyk475.jpg "border=" 0 "/>

Activate Basic authentication so that access can be accessed via Windows user name password

650) this.width=650; "height=" 296 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/AD/ Wkiom1wcu4bjb5jgaaemhmhrhcm631.jpg "border=" 0 "/>

Configuring the FTP Firewall

650) this.width=650; "height=" 327 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/A9/wKioL1WCVT7iThpvAAHx_ 1wbmaq975.jpg "border=" 0 "/>

Specify the feature port segment used in FTP passive mode

First open 10 ports to use, not enough to add their own

Set the virtual machine external IP address at the same time, or you will be prompted to fail to forward the route resulting in external access failure

650) this.width=650; "height=" 307 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/A9/ Wkiol1wcvt-tvrquaaeczkpkeuw747.jpg "border=" 0 "/>

To configure Directory browsing information, you need to skip the match if you don't need it.

650) this.width=650; "height=" 374 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/A9/ Wkiol1wcvubcp4a3aajjujpjx7w720.jpg "border=" 0 "/>

650) this.width=650; "height=" 317 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/A9/ Wkiol1wcvuej4sruaacwhqeeayg711.jpg "border=" 0 "/>

Configure SSL encrypted access, need to match, do not need to skip

650) this.width=650; "height=" 372 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/AD/ Wkiom1wcu5yiwkrhaajppdy8k7a698.jpg "border=" 0 "/>

This is relatively simple, do not have to go with the certificate root node, directly with the SSL certificate provided by Azure, with special needs or special hobbies of the other

650) this.width=650; "height=" 426 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/A9/ Wkiol1wcvu-rqgoaaaehppeqf4e385.jpg "border=" 0 "/>

Next, for specific site personalization, you may need to configure again to meet the actual needs

650) this.width=650; "height=" 336 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/A9/ Wkiol1wcvvpiud6waaiwhuwq03m295.jpg "border=" 0 "/>

Step Five: Configure Windows and Azure Cloud Service Firewall

Windows Firewall Personal comparison directly, then turn it off first.

Azure Cloud Service we need to be in addition to the FTP 21 port, but also to open the previous configuration of 5000-5010 10 ports

Of course, if not too troublesome can be one in the portal click Add, but I am more lazy or script run out of it

1:get-azurevm-servicename "Jackyftp"-name "Jackyftp" |
2:add-azureendpoint-name "FTP5000"-protocol "tcp"-publicport 5000-localport 5000|
3:add-azureendpoint-name "FTP5001"-protocol "tcp"-publicport 5001-localport 5001|
4:add-azureendpoint-name "FTP5002"-protocol "tcp"-publicport 5002-localport 5002|
5:add-azureendpoint-name "FTP5003"-protocol "tcp"-publicport 5003-localport 5003|
6:add-azureendpoint-name "FTP5004"-protocol "tcp"-publicport 5004-localport 5004|
7:add-azureendpoint-name "FTP5005"-protocol "tcp"-publicport 5005-localport 5005|
8:add-azureendpoint-name "FTP5006"-protocol "tcp"-publicport 5006-localport 5006|
9:add-azureendpoint-name "FTP5007"-protocol "tcp"-publicport 5007-localport 5007|
10:add-azureendpoint-name "FTP5008"-protocol "tcp"-publicport 5008-localport 5008|
11:add-azureendpoint-name "FTP5009"-protocol "tcp"-publicport 5009-localport 5009|
12:add-azureendpoint-name "FTP5010"-protocol "tcp"-publicport 5010-localport 5010|
13:update-azurevm

If you think one line to change the trouble, give another way, very rough, but very effective

650) this.width=650; "height=" 429 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6E/A9/ Wkiol1wcvvjzwecxaaoztx9syui920.jpg "border=" 0 "/>

After writing the first line down a drag, and then all copied out of the batch to replace the/tab, stitching to the top of the statement between the end, F5 execution finished

650) this.width=650; "height=" 563 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6E/AD/ Wkiom1wcu6nayktiaafctdxk6kc581.jpg "border=" 0 "/>

Step Six: Restart the operating system

Why restart the operating system without simply restarting the FTP service or the IIS service?

Do not ask me this question, ask me I do not know, anyway, after the restart, he returned to normal.

Link will be prompted whether to accept the certificate, point to accept, do not want to point can also skip the above configuration SSL step

650) this.width=650; "height=" 664 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6E/AD/ Wkiom1wcu7sadsgdaapirpsbc8k724.jpg "border=" 0 "/>

This article is from the "Fast" blog, so be sure to keep this source http://greece760.blog.51cto.com/660798/1663055

Windows Integrated FTP server configuration –ws08r2 verified

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.