andre72
asked on
Can't make ProfFTP running on Ubunto 10.4
Hi,
I start to setup ProfFTP for my Server to make FTP available.
The demon is running fine and reports no error but I can't access via Port 21 as I get no response there.
I read it may be a reason because of IPTables but I also fellow a thread how to open the port.
Here's the output for ProfFTP (whhy tcp6 only?):
tcp6 0 0 [::]:ftp [::]:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 1871666 /var/run/proftpd/proftpd.s ock
unix 2 [ ACC ] STREAM LISTENING 1871674 /var/run/proftpd/proftpd.s ock
And this is for IPTables:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpt:ftp state NEW,ESTABLISHED
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpts:1024:65535 state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpt:ftp-data state ESTABLISHED
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- mydomain.com anywhere tcp spt:ftp dpts:1024:65535 state ESTABLISHED
ACCEPT tcp -- mydomain.com anywhere tcp spts:1024:65535 dpts:1024:65535 state ESTABLISHED
ACCEPT tcp -- mydomain.com anywhere tcp spt:ftp-data dpts:1024:65535 state RELATED,ESTABLISHED
Can somebody help me please make FTP working?
Thanks
Andre
I start to setup ProfFTP for my Server to make FTP available.
The demon is running fine and reports no error but I can't access via Port 21 as I get no response there.
I read it may be a reason because of IPTables but I also fellow a thread how to open the port.
Here's the output for ProfFTP (whhy tcp6 only?):
tcp6 0 0 [::]:ftp [::]:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 1871666 /var/run/proftpd/proftpd.s
unix 2 [ ACC ] STREAM LISTENING 1871674 /var/run/proftpd/proftpd.s
And this is for IPTables:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpt:ftp state NEW,ESTABLISHED
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpts:1024:65535 state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpt:ftp-data state ESTABLISHED
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- mydomain.com anywhere tcp spt:ftp dpts:1024:65535 state ESTABLISHED
ACCEPT tcp -- mydomain.com anywhere tcp spts:1024:65535 dpts:1024:65535 state ESTABLISHED
ACCEPT tcp -- mydomain.com anywhere tcp spt:ftp-data dpts:1024:65535 state RELATED,ESTABLISHED
Can somebody help me please make FTP working?
Thanks
Andre
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm sorry I've given up as no solution works.
But I tried vsftpd and after 5 minutes I could use my FTP and as I need just really native function for FTP I decide to keep using this demon.
I hope you agree if I split poins to everybody who tried to help ...
Thanks for your support
But I tried vsftpd and after 5 minutes I could use my FTP and as I need just really native function for FTP I decide to keep using this demon.
I hope you agree if I split poins to everybody who tried to help ...
Thanks for your support
ASKER
Like I wrote just choose an other demon and anything is fine
ASKER
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpt:ftp state NEW,ESTABLISHED
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpts:1024:65535 state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere mydomain.com tcp spts:1024:65535 dpt:ftp-data state ESTABLISHED
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- mydomain.com anywhere tcp spt:ftp dpts:1024:65535 state ESTABLISHED
ACCEPT tcp -- mydomain.com anywhere tcp spts:1024:65535 dpts:1024:65535 state ESTABLISHED
ACCEPT tcp -- mydomain.com anywhere tcp spt:ftp-data dpts:1024:65535 state RELATED,ESTABLISHED