Re: FTP and Firewalls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 26.03.2012 20:02, schrieb Lázaro Morales:
> Hello,
> 
> I have a question about FTP service and iptables. This is the default configuration for iptables on Fedora. I just
> added the 4th rule giving access to port 21 running vsftpd.
> 
> When I connect through a FTP client like `ftp` all work fine but when I try through a web browser for example or
> through `yum` isn't not work

you need first to understand:
http://slacksite.com/other/ftp.html

most clients these days are using PASV because active
ftp will not work if the client is behind a router
which has to forward random ports, so you have to
configure the packet-filter on the server as follows
_______________

"/etc/sysconfig/iptables-config" is your friend

if your machine is behind a NAT router:
IPTABLES_MODULES="nf_conntrack_ftp nf_nat_ftp"

if your machine has as public IP:
IPTABLES_MODULES="nf_conntrack_ftp"

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux