banner



How To Install Ftp On Windows Server 2012

KB ID 0000847

Problem

FTP might be an ages old solution for moving files around, merely a lot of people swear by it. With Windows Server it'south even so supported, fifty-fifty if it is hidden as a 'role service'.

Solution

Create a Security Group For Domain FTP Access

Notation: For a Standalone/Workgroup server meet below for setting upwardly users and groups.

i. Launch Server Managing director > Tools > Active Directory Administrative Heart.

Active Directory Administrative Center

two. New > Grouping.

Create New Domain Group

3. Give the grouping a sensible name.

New Domain Group

4. Here I'thousand going to create a user to exam with, in production you lot would but apply the domain users who you want to give access to.

x

5. I volition only create a user called 'ftpuser'.

Create Domain User

6. Add together the domain user(s) to your new security group.

Add Users to Group

7. Create a folder that volition be the 'root' of your FTP site.

FTP Root Folder

8. Grant your security group rights to this folder (Annotation: By default they will but get Read rights, yous will demand to add together 'Write' if you lot want your users to be able to 'put' files).

Grant Write Rights

Create a Security Group For Workgroup / Standalone FTP Access

1. From Server Manager > Tools >Computer Management.

Launch Computer Management

2. System Tools > Local Users and Groups > Groups.

Create Loacal Users

iii. Requite the group a sensible name.

Create Users

four. I'm going to create a test user called ftpuser, this is done in Local users and groups > Users.

User Password

5. Place the user(s) yous want to grant access to, into your local security group.

User Properties

half-dozen. Crete a folder that volition be the 'root' of your FTP site and open its backdrop.

Folder Properties

vii. On the security Tab > Advanced > Grant your security group rights to this folder (Notation: Past default they will just get Read rights, you will demand to add 'Write' if you want your users to be able to 'put' files).

Enable FTP Put

Windows Server 2012 Install FTP

i. From Server Managing director > Tools > Add Roles and Features.

dd Roles and Features

ii. Side by side.

Skip Page

3. Side by side

Role or Feture Based

iv. Next

Services Selection

5. Select Spider web Server (IIS) > Select Add (when prompted) > Next.

Instal IIS 2012

6. Side by side

Role Features

vii. Next

Web Server IIS

8. Locate and Select FTP Server AND FTP Extensibility > Next.

FTP Extensibility

9. Install

Confirm Install

10. Close.

Reboot post install

11. Reboot the server. This is considering some of the firewall settings have a habit of non enabling until the server has restarted, this does not happen all the time, so you may be lucky and not need to reboot. Only I'chiliad a business firm believer in 'If something can get wrong, it will go wrong'.

Reboot 2012

Windows Server 2012 Configure FTP

one. Windows Key > Internet Data Services (IIS) Manager.

IIS Manager

three. Expand the servername > Right click 'Sites' > Add FTP Site.

Add FTP Site 2012

four. Requite the site a proper name > Browse to the folder you are going to use as the FTP 'root' folder > Next.

PAth to FTP Root

5. Select No SSL (I'thousand not going to secure the site with spider web certificates) > Side by side.

FTP Enable SSL

half dozen. Authentication = Basic > Let Admission to = Selected roles or user groups > Permissions = Select read and write as appropriate > Finish.

Allow group FTP Access Server 2012

7. Windows Cardinal+R > firewall.cpl > Allow an app or feature through Windows Firewall.

Allow FTP through firewall 2012

8. Ensure FTP Server is allowed for the 'profile' that your network menu has been allocated.

Firewall Settings for FTP

9. Avant-garde Settings.

2012 Network and Sharing Center

10. Incoming Rules.

Server2012 Incoming Rules

xi. There should be iii FTP Settings, by default they should be enabled (for FTP Port 21, Passive Ports, and Secure FTP / TCP 990).

2012 Firewall FTP Settings

Windows 2012 FTP Server – Testing Access

1. You lot can exam the firewall is open by opening a telnet session to the server on port 21;

telnet {ip address or name of server} 21

TestPort 21 with Telnet

two. This is what you should meet (or in some cases a blinking cursor, if you are going through a firewall or device that suppresses response headers).

220 Microsoft FTP Service

3. Or yous can use a web browser and navigate to ftp://{ip address or proper name of the FTP server}.

Test FTP with web browser

iv. Or from control line you can use the straight ftp command like so;

ftp {ip address or proper noun of server}

Command Line FTP commands

Windows 2012 FTP Server – Testing External Access

To admission the server externally (from the internet), requires your remote users to know either the public IP accost or the public name of the server. In improver FTP (TCP Port 21) needs to be open to that IP address. This tin can be done by giving the server its ain public IP address, or past Port Forwarding FTP from your public IP address to the individual IP address of the FTP server. How that is done will differ depending on your firewall or router.

Note: If you have a Cisco Firewall, I'll put the links yous require on the lesser of the folio.

1. Here I'm on an external machine, and I'k using FileZilla (a gratis FTP client) to connect to my FTP server.

FTP Quickconnect

ii. Just to examination I'll drag a file to the FTP server, to make sure I can write/put files.

Directory Listing Successfull

three. Here is the file uploaded.

Using FileZilla

4. Back on the server, in the 'root' folder you can come across the file successfully uploaded.

sucessfull ftp transfer

Related Articles, References, Credits, or External Links

Cisco Firewall (ASA/PIX) – Granting Admission to an FTP Server

Cisco PIX / ASA Port Forwarding

Add a Static (One to One) NAT Translation to a Cisco ASA 5500 Firewall

Source: https://www.petenetlive.com/KB/Article/0000847

Posted by: koehlertallean.blogspot.com

0 Response to "How To Install Ftp On Windows Server 2012"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel