Re: Redirecting ftp
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Magnus Göransson wrote:
> Hello!
>
> Active or Passive FTP??
> http://slacksite.com/other/ftp.html
Running passive, great link...
> If you can log in and not can list the directory it can be that passive
> port's not allowed. Can you target the range for passive port in your
> ftp server?
>
> iptables -m state --state REALTED --sport < ... > --dport < ... >
I'm still having some connection problem. Not from the 172.16.0.0/27 net , only outside on the WAN.
I'm running Pure-Ftpd and port 45000 47000 is defined as passive. But i can't get the syntax right in my iptables..
iptables -m state --state RELATED --sport 45000:47000 --dport 45000:47000 -J ACCEPT
Shall I forward ome ports in my router to the firewall? Or what is defined as sport..?
- --
/Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDmKz/SdVv6NOAbD4RAqQnAJ9LyjFkpBM6D+/CaiPNlkwHbmBE4QCfYItS
48z5Yy+NbBNArKazDwXde1M=
=9zzM
-----END PGP SIGNATURE-----
Reply to: