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@lists.fedoraproject.org
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

Reply via email to