Configure an ipv6 ftp server under Fedora

Source: Internet
Author: User
Operating System: Fedora14FTP version: vsftpd (which is included in the Fedora package, will not be introduced here.) selecting the linux release version is not a major issue. The main difference between them is that the specific seat of the configuration file is different. If you know it, you don't need to worry about the version. First, ipv6 ora14 has enabled the ipv6 option by default, that is, the kernel supports IPv6. therefore, you do not need to re-compile the kernel. View ipv6 module: # lsmod | grepipv6 is not available yet

Operating System: Fedora 14

FTP Version: vsftpd (which is provided by Fedora and will not be installed here)

Selecting the linux release version is not the focus. You can select any version. The main difference between them is that the specific seat of the configuration file is different. If you know it, you don't need to worry about the version.

First, ipv6 ora 14 has enabled the ipv6 option by default, that is, the kernel supports IPv6. therefore, you do not need to re-compile the kernel.

View ipv6 module: # lsmod | grep ipv6

If you have not installed ipv6, install ipv6 before proceeding to the next step. Install ipv6: modprob ipv6, or refer to other posts.

Second, if you have not installed the system or are installing Fedora 14, check that you have selected the ftp server. If you have installed the system but have not installed the default ftp service, install it on your own.

Finally, modify the configuration file. My configuration file is in "/etc/vsftpd. conf ",

According to listen = YES // ipv4

Listen_ipv6 = YES // ipv6

Only one configuration file can be opened, that is, ipv4 or ipv6;

If two types are supported at the same time:

Copy vsftpd. conf to vsftpd_ipv4.conf, and comment out the ipv6 listen_ipv6.

# Cp/etc/vsftpd. conf vsftpd_ipv4.conf

The original mv is vsftpd_00006.conf, and the comment is sent to 4de listen.

# Mv/etc/vsftpd. conf vsftpd_1_6.conf

The configuration file is as follows:

Vsftpd_ipv4.conf

...
Listen = YES
# Listen_ipv6 = YES
...


Vsftpd_1_6.conf

...

# Listen = YES
Listen_ipv6 = YES

...

Restart the vsftpd service:

# Service vsftpd restart

Starting vsftpd for vsftpd_ipv4: [OK]
Starting vsftpd for vsftpd_ipv6: [OK]

Shard line

If you forget to mention this, the default vsftpd working directory is "/var/ftp/pub/". Change the permission;

# Cd/var/ftp/

# Chmod 0777 pub/-R

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.