<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FTP &#8211; Nexto</title>
	<atom:link href="https://nexto.ch/category/ftp/feed/" rel="self" type="application/rss+xml" />
	<link>https://nexto.ch</link>
	<description>Business Empowerment</description>
	<lastBuildDate>Sat, 26 Oct 2024 15:28:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Installing and Configuring an FTP Server with vsftpd</title>
		<link>https://nexto.ch/vsftpd/installing-and-configuring-an-ftp-server-with-vsftpd/</link>
		
		<dc:creator><![CDATA[Nexto]]></dc:creator>
		<pubDate>Mon, 01 Jul 2024 14:17:56 +0000</pubDate>
				<category><![CDATA[FTP]]></category>
		<category><![CDATA[vsftpd]]></category>
		<guid isPermaLink="false">https://nexto.ch/?p=226595</guid>

					<description><![CDATA[Introduction An FTP server allows you to transfer files between computers over...]]></description>
										<content:encoded><![CDATA[<h3>Introduction</h3>
<p>An FTP server allows you to transfer files between computers over a network. vsftpd (Very Secure FTP Daemon) is a popular FTP server for Unix-like systems. This tutorial will guide you through installing and configuring vsftpd on a Linux server.</p>
<h4>Prerequisites</h4>
<ul>
<li>A Linux server (e.g., Ubuntu or Debian).</li>
<li>Access with sudo privileges.</li>
</ul>
<h5>Step 1: Install vsftpd</h5>
<p>Update the package list and install vsftpd:</p>
<pre>sudo apt update
sudo apt install vsftpd -y
</pre>
<h5>Step 2: Backup the Configuration File</h5>
<p>Before making changes, back up the original configuration file:</p>
<pre>sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.bak
</pre>
<h5>Step 3: Configure vsftpd</h5>
<p>Edit the vsftpd configuration file:</p>
<pre>sudo nano /etc/vsftpd.conf
</pre>
<p>Modify the following settings:</p>
<ul>
<li>Uncomment local_enable=YES to allow local users to log in.</li>
<li>Uncomment write_enable=YES to allow write permissions.</li>
<li>Uncomment chroot_local_user=YES to confine users to their home directories.</li>
</ul>
<p>Add the following line to enable passive mode (adjust the port range as needed):</p>
<pre>pasv_min_port=40000
pasv_max_port=50000
</pre>
<h5>Step 4: Restart vsftpd Service</h5>
<p>Apply the changes by restarting the vsftpd service:</p>
<pre>sudo systemctl restart vsftpd
</pre>
<h5>Step 5: Create an FTP User</h5>
<p>Create a new user for FTP access:</p>
<pre>sudo adduser ftpuser
</pre>
<p>Set a password when prompted.</p>
<h5>Step 6: Adjust Firewall Settings</h5>
<p>Allow FTP traffic through the firewall:</p>
<pre>sudo ufw allow 20/tcp
sudo ufw allow 21/tcp
sudo ufw allow 40000:50000/tcp
</pre>
<h5>Step 7: Test the FTP Connection</h5>
<p>Use an FTP client like FileZilla or the command line to connect:</p>
<pre>ftp your_server_ip
</pre>
<p>Log in with the ftpuser credentials.</p>
<h5>Step 8: Secure the FTP Server (Optional)</h5>
<p>For enhanced security, consider:</p>
<ul>
<li><strong>Using FTPS:</strong> Configure SSL/TLS encryption.</li>
<li><strong>Limiting User Access:</strong> Restrict users to specific directories.</li>
<li><strong>Disabling Anonymous Access:</strong> Ensure anonymous_enable=NO is set.</li>
</ul>
<h4>Conclusion</h4>
<p>You have installed and configured an FTP server using vsftpd. Users can now transfer files securely to and from your server.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
