0% found this document useful (0 votes)
79 views

Xigmanas - Basic FTP Client Configuration

The document provides instructions for configuring basic FTP client access on XigmaNAS. It describes enabling the FTP service, testing FTP connections, and using Filezilla as an FTP client. Key steps include enabling FTP in the server configuration, verifying the network connection, and manually testing the FTP connection before using a GUI FTP client.

Uploaded by

Dar Radi Bilal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Xigmanas - Basic FTP Client Configuration

The document provides instructions for configuring basic FTP client access on XigmaNAS. It describes enabling the FTP service, testing FTP connections, and using Filezilla as an FTP client. Key steps include enabling FTP in the server configuration, verifying the network connection, and manually testing the FTP connection before using a GUI FTP client.

Uploaded by

Dar Radi Bilal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

2024/03/11 02:29 1/6 XigmaNAS - Basic FTP Client Configuration

XigmaNAS - Basic FTP Client Configuration

Installed Version - XigmaNAS-x64-LiveCD-12.3.0.4.8948.ISO

Introduction

While CIFS and NFS are file system protocols, which means that whole file systems can be shared on
the network, and other computers can use those file systems as if they were attached locally, FTP
(File Transfer Protocol) is a TCP protocol for uploading and downloading files between computers. FTP
works on a client/server model. The server component is called an FTP daemon. It continuously listens
for FTP requests from remote clients. When a request is received, it manages the login and sets up
the connection. For the duration of the session it executes any of commands sent by the FTP client.

Access to an FTP server can be managed in one of two ways:

1. Anonymous.
2. Authenticated.

In the Anonymous mode, remote clients can access the FTP server by using the default user account
called “anonymous” or “ftp” and sending an email address as the password.

In the Authenticated mode a user must have an account and a password. User access to the FTP
server directories and files is dependent on the permissions defined for the account used at login. As
a general rule, the FTP daemon will hide the root directory of the FTP server, and provide access only
to the FTP Home directory. This hides the rest of the file system from remote sessions.

Warning - Enabling anonymous FTP upload can be an extreme security risk. It is best
to not enable anonymous upload on servers accessed directly from the Internet.

Traditional FTP is rather insecure. When you login, your username and password are transmitted in
clear text, raising the possibility of your credentials being 'sniffed' by a malicious person. Fortunately
there's an easy answer to this. You can quite easily configure your FTP server to use OpenSSL
encryption, so that username & password, and even data files, are encrypted during transfer. For
details see:

SUG Section 2.6.2-Secure SFTP Configuration


SUG Section 2.6.2-Secure FTPES Configuration

Prerequisites

Before deploying FTP on XigmaNAS you should be familiar with:

Linux file and directory permissions.


Mounting and detaching (unmounting) filesystems.
Changing File Permissions and File Ownership.

XigmaNAS - https://www.xigmanas.com/wiki/
Last
update:
documentation:setup_and_user_guide:basic_client_configuration https://www.xigmanas.com/wiki/doku.php?id=documentation:setup_and_user_guide:basic_client_configuration
2021/12/22
01:25

Open a Terminal (Console, CLI) on your client PC and make sure you understand these commands:

man mount
man umount
man chown
man chmod
man ftp

You can also look them up on FreeBSD.org's Man Pages.

Install XigmaNAS, if you already haven't.

See SUG Section 2.3-Installing XigmaNAS on disk.

Or you may run it from the CDROM as required for testing.

See SUG Section 2.2-Using XigmaNAS with the CDROM and a removable disk (LiveCD mode).

Basic FTP COMMANDS

The following are basic commands you can use with a CLI to manage your FTP session. These
commands should work on Windows and Linux clients.

delete – Deletes the file in the remote directory.


lcd – Changes directory on your local machine.
mkdir – Makes a new directory within the current remote directory.
mget – Copies multiple files from the remote machine to the local machine. You will be
prompted for a Y/N answer before transferring each file, unless you use the “Prompt Off”
command before hand.
mput – Copies multiple files from the local machineto the remote machine. You will be
prompted for a Y/N answer before transferring each file, unless you use the “Prompt Off”
command before hand.
put – Copies a file from the local machine to the remote machine.
pwd – Displays the current working directory on the remote machine.
rmdir – Deletes a directory in the current remote machine.
quit – Exits ftp.

Server Configuration

For details about the FTP service please see SUG Section 6.2-FTP-File Transfer Protocol.

https://www.xigmanas.com/wiki/ Printed on 2024/03/11 02:29


2024/03/11 02:29 3/6 XigmaNAS - Basic FTP Client Configuration

1 - Enable FTP, and select the parameters/options you want to use for access.

XigmaNAS - https://www.xigmanas.com/wiki/
Last
update:
documentation:setup_and_user_guide:basic_client_configuration https://www.xigmanas.com/wiki/doku.php?id=documentation:setup_and_user_guide:basic_client_configuration
2021/12/22
01:25

2 - Then click the “Save and Restart” Button.

Verify Connection to Server

Connect your Client to the Network, and use PING to verify that you can reach the Server's IP
Address. You can also try to open the XigmaNAS WebGUI, if you are successful then you have a
working connection.

Client Software

Linux and Windows both have built-in, CLI based, FTP clients. Most people will probably prefer a GUI
based client. A popular client is Filezilla, and Filezilla supports a version for most Operating Systems.
There are many others and you can use Google to find one that's right for you.

https://www.xigmanas.com/wiki/ Printed on 2024/03/11 02:29


2024/03/11 02:29 5/6 XigmaNAS - Basic FTP Client Configuration

Testing your FTP service and connection.

The FTP service should now be running, so let's test the FTP Connection manually, with the CLI, before
trying to use Filezilla. If you can't login, it's likely that there is no account created for you.

1 - Open a Terminal Window (Console, CLI).

2 - Type the following:

ftp 192.168.1.250

3 - Logon to FTP: If Anonymous Users was selected, your username will be anonymous, otherwise for
local users, enter your username and press the “ENTER” key. Enter your Password and press the
“ENTER” key. You should see something like this:

Connected to 192.168.1.250
220 ProFTPD 1.3.2e Server (ldkxigmanas FTP Server) [::ffff:192.168.1.250]
Name (192.168.1.250:larry): ldk
331 Password required for ldk
Password:
230-Welcome to XigmaNAS FTP Server
230 User ldk logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

4 - Type the following:

ls

5 - You should see the following:

ftp> ls200 PORT command successful


150 Opening ASCII mode data connection for file list
drwxrwxrwx 3 root wheel 512 Jul 18 12:24 CF_Data_Part2
drwxrwxrwx 8 root wheel 7680 Jul 25 12:51 mysata
drwxr-xr-x 4 root wheel 512 Jul 21 13:45 ramdisk1
drwxr-xr-x 3 root wheel 512 Jul 21 13:45 ramdisk2
226 Transfer complete
ftp>

6 - Exit FTP:

ftp>quit

This procedure just verified that you can connect manually using ftp. You will use the Menu's from
Filezilla to transfer files.

REF: Basic FTP Commands

XigmaNAS - https://www.xigmanas.com/wiki/
Last
update:
documentation:setup_and_user_guide:basic_client_configuration https://www.xigmanas.com/wiki/doku.php?id=documentation:setup_and_user_guide:basic_client_configuration
2021/12/22
01:25

Configuring FTP Access Behind a Firewall

If you want to use XigmaNAS behind a NAT box (router or firewall) that does not support FTP you
should:

1. Configure your NAT box (router or firewall) to forward port (TCP 21 and a RANGE of TCP ports)
to your XigmaNAS
2. Add your public IP address on the ‘Passive IP address’ field
3. Add your lower TCP port of your configured range on the ‘pasv_min_port’ field
4. Add your high TCP port of your configured range on the ‘pasv_max_port’ field
5. Enable ‘NAT Mode’

You will be opening several ports, these are generic instructions and it may be wise for you to consult
the manufacturers' manual for information specific to your equipment and application. Port 21 may be
blocked by some ISP's and therefore you may need to use another unassigned port, which probably
would be a wise decision. For best results don't use known port numbers at all, use unassigned,
private ports per IANA recommendations. If you have trouble configuring your router or getting it to
work, look for help on the manufacturers' website or Google.

From:
https://www.xigmanas.com/wiki/ - XigmaNAS

Permanent link:
https://www.xigmanas.com/wiki/doku.php?id=documentation:setup_and_user_guide:basic_client_configuration

Last update: 2021/12/22 01:25

https://www.xigmanas.com/wiki/ Printed on 2024/03/11 02:29

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy