Link to home
Start Free TrialLog in
Avatar of andre72
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.sock
unix  2      [ ACC ]     STREAM     LISTENING     1871674  /var/run/proftpd/proftpd.sock

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
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andre72
andre72

ASKER

Thnaks bit it didn't solve the problem:
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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andre72

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
Avatar of andre72

ASKER

Like I wrote just choose an other demon and anything is fine