View previous topic :: View next topic |
Author |
Message |
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Sun Jun 01, 2003 10:42 am Post subject: proftpd problems |
|
|
i've got this strange problem with proftpd,
i can't connect to the ftp server, locally nor remote.
"remote host has closed connection"
proftpd starts fine with out errors, and when scanning the server
it shows that there's a service listening on port 21.
donno actually when it started, but i think it was when i change the nic.
tho i've never heard about a nic not accepting certain traffic, just to conclude it i changed back to the old nic, and as i suspected it didn't work then either ...
i'm stunned, any help would be appreciated. _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Jun 01, 2003 2:18 pm Post subject: |
|
|
Are you sure your not masquerading? If you are it prevents you from connecting to the machine from inside your network if your using NAT.
e.g. on my network from my machine to my server
Code: |
puggy@aragorn puggy $ ftp legolas
ftp: connect: Connection refused
|
From outside however...
Code: |
bash-2.03$ ftp X.X.X.X
Connected to X.X.X.X
|
_________________ Where there's open source , there's a way. |
|
Back to top |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Sun Jun 01, 2003 2:27 pm Post subject: |
|
|
the server has no iptables rules, it's behind a firewall from the outside, tho this problem is both from outside and the inside.
and i always connect to my server using the ip _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Jun 01, 2003 2:31 pm Post subject: |
|
|
So your not using NAT and therefore not requiring masquearading and passive ports?
Could you have gotten yourself banned from your own server?
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Sun Jun 01, 2003 2:51 pm Post subject: |
|
|
oh, thought you ment masquerading with iptables.
i do use masquerading and passive ports in the proftpd configuration file.
this haven't prevented me from connecting locally before, the only thing it has preventing me from is using passive transfers locally. _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Jun 01, 2003 2:58 pm Post subject: |
|
|
interesting. Have you tried sshing into a machine outside of your network and ftping in from there to see what happens?
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Sun Jun 01, 2003 3:06 pm Post subject: |
|
|
well, i've asked friends to try to connect to the server, same error as i get locally. _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Jun 01, 2003 9:15 pm Post subject: |
|
|
Can you post your proftpd configuration file. _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Mon Jun 02, 2003 4:31 am Post subject: |
|
|
hah, stupid me.
just as i was pasting the conf file i relized what the problem was.
i'd made a new mysql db for the user info and forgott to change the name for it in the configuration ...
sorry for taking your time.[/code] _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Mon Jun 02, 2003 4:33 am Post subject: |
|
|
hah, stupid me.
just as i was pasting the conf file i relized what the problem was.
i'd made a new mysql db for the user info and forgott to change the name for it in the configuration ...
sorry for taking your time. _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Mon Jun 02, 2003 4:39 am Post subject: |
|
|
hah, stupid me.
just as i was pasting the conf file i relized what the problem was.
i'd made a new mysql db for the user info and forgott to change the name for it in the configuration ...
sorry for taking your time. _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Mon Jun 02, 2003 3:04 pm Post subject: |
|
|
No sweat _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
|