Skip to main content

about vsftpd module helper (ip_conntrack)

vsftpd modul helper (ip_conntrack)

# /etc/sysconfig/iptables
add the lines to open port tcp 21 for vsftpd
-A INPUT -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT

# /etc/sysconfig/iptables-config
edit the lines below

# Load additional iptables modules (nat helpers)
# Default: -none-
#
#
IPTABLES_MODULES="ipconntrack_ftp ip_nat_ftp"
#
#

restart service
# service iptables restart

The ip conntrack ftp module is used by iptables to listen to traffic and allow connections to the data ports (20). This allows an FTP server to operate on a machine which is running a firewall. Without this option passive ftp will not work.
Another option is just skip this module assign min and max pass ranges in vsftpd and open those ports.

source:
http://www.cyberciti.biz/tips/rhel-fedora-centos-vsftpd-installation.html

Comments

Popular posts from this blog

Installing Qualcomm Atheros AR8162 Fast Ethernet Driver on Lenovo G400

I was preparing Lenovo G400 laptop for my linux class, after I installed CentOS 6.5 on it, tada,,,, my ethernet adapter won't show up. I checked with ifconfig command but where the hell my eth0 ??. Then i type the command below : # lspci -v 01:00.0 Ethernet controller: Qualcomm Atheros AR8162 Fast Ethernet (rev 10)     Subsystem: Lenovo Device 3802     Flags: bus master, fast devsel, latency 0, IRQ 32     Memory at 90500000 (64-bit, non-prefetchable) [size=256K]     I/O ports at 2000 [size=128]     Capabilities: <access denied>     Kernel driver in use: alx It seem my wired network adapter do not have its driver. After searching on the net then I find this great article. I wrote it out on my blog to make it sure I have notes for the trouble. This is how we troubleshoot it :   First download this file : alx-linux-v2.0.0.6.rar unrar it, run make command, change directory...

All certification

Honor Code Certificate from edX - Linux Foundation