PDA

View Full Version : Ftp Server



true_neo
09-15-2003, 10:29 PM
Can anyone post, or link me to, a detailed (!) guide to settin up and runnin an FTP server.
Thanx.
PS: Detailed=good, cos Im el total nOOb at FTP. :lol:

james_bond_rulez
09-15-2003, 10:34 PM
http://www.klboard.ath.cx/index.php?showtopic=11599

:rtfaq:

shn
09-15-2003, 11:22 PM
Quite simple actually. I assume you mean the traditional ftp and not the tftp (trivial file transfer protocol). All you do is open up port 23 and run your ftp software, it helps if you have a static and not a dynamic ip address but you can run one either way. Dont forget to configure your ftp program like the directories, permissions, and anonymous access if you desire it. :)

vivitron 15
09-16-2003, 12:06 AM
Originally posted by shn@15 September 2003 - 23:22
Quite simple actually. I assume you mean the traditional ftp and not the tftp (trivial file transfer protocol). All you do is open up port 23 and run your ftp software, it helps if you have a static and not a dynamic ip address but you can run one either way. Dont forget to configure your ftp program like the directories, permissions, and anonymous access if you desire it. :)
ROFLMAO

dude, that "detailed guide" is like saying:

Download an mp3:

buy a set of pc bits
put em together
install software
run kazaa
download

:D :D :D :D

MUSLEMAN
09-16-2003, 12:19 AM
Originally posted by vivitron 15+15 September 2003 - 20:06--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (vivitron 15 @ 15 September 2003 - 20:06)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-shn@15 September 2003 - 23:22
Quite simple actually.&nbsp; I assume you mean the traditional ftp and not the tftp (trivial file transfer protocol).&nbsp; All you do is open up port 23 and run your ftp software, it helps if you have a static and not a dynamic ip address but you can run one either way.&nbsp; Dont forget to configure your ftp program like the directories, permissions, and anonymous access if you desire it. :)
ROFLMAO

dude, that "detailed guide" is like saying:

Download an mp3:

buy a set of pc bits
put em together
install software
run kazaa
download

:D :D :D :D [/b][/quote]
roflamo 2 i concure :lol:

true_neo
09-16-2003, 12:52 PM
Lol I agree that that wasnt very detalied, as I dun know how to open ports :P

I use Serv-U 4 to create my FTP server, and did all what is described in the link at the start.

Anyways, my friend tries to connect to my FTP and gets this:
Resolving host name 194.69.211.208...
Connecting to (194.69.211.208) -> IP: 194.69.211.208
PORT: 21
Unknown error.
Cannot login waiting to retry (30s)...

Can this error be that we are using the wrong port?
Does changing it to 80 help?
If not, what is another poss solution?

PS: Yes I do feel safe havin the IP there, cos I dun have child porn, and if any of you want my stuff, you dun have to hack me, PM me and I give you FTP when it is done :P (plus I have firewall :lol: )

exeus
09-16-2003, 01:16 PM
may i try to connect to your ftp as the i really need to see the prob for myself....

true_neo
09-16-2003, 01:19 PM
Okay. Let me just check some last things, and then I PM you the info you need to connect...

true_neo
09-16-2003, 06:53 PM
*bump*

Me and exeus have resolved some of the prob. We now know that it is not a wrong setup that keeps my comp from accepting FTP transfers.

Now I want to know: Is it possible for there to be anything on the comp (not Firewall, neither software, or implemented in XP) that can stop an FTP?

shn
09-16-2003, 07:18 PM
Some ports can not be changed. Webserver ports can be changed to whatever you like 80, 8080 or any unused port but 80 is the default.

When it comes to ftp. That port 23 is used exactly for file transfer protocol and you generally cant change the port or if you do it wont work well at all.

Stick with the default ports and to be quite honest if you dont know what your doing I would suggest you leave it alone until you have enough time on your hands to read the documentation regarding the ftp server software as well as ftp protocol in general.

Strangely enough my description of ftp posted earlier would only be considered vague to someone who does not desire to use their common sense. People cant hold your hand 100% through the way. Its best to appreciate what little info you get from someone regarding a particular question of yours and assess that to the information you learn on your own. If someone gave you step by step by step instructions you would probably use those to get the solution to your problem for the time being only and then once you need to do it agin you would have forgotten because you just used someone else&#39;s expertise and not your own. :)

balamm
09-16-2003, 07:51 PM
Port 21 is the default ftp port ;) Permissions in windows can be a bitch when you want to setup ftp. Either you&#39;re constantly challenged for a name and pass, or you&#39;re challenged but any name and pass will do, or it just won&#39;t connect.

I think you&#39;ll have to create a group and give it the neccesary permissions to bypass the usual checks, use your own templates instead. Then create user accounts for annonymous and so on.
Windows is so mucked up with patches now you never know what you&#39;ve got.

true_neo
09-16-2003, 09:41 PM
Originally posted by shn@16 September 2003 - 21:18
Strangely enough my description of ftp posted earlier would only be considered vague to someone who does not desire to use their common sense. People cant hold your hand 100% through the way. Its best to appreciate what little info you get from someone regarding a particular question of yours and assess that to the information you learn on your own. If someone gave you step by step by step instructions you would probably use those to get the solution to your problem for the time being only and then once you need to do it agin you would have forgotten because you just used someone else&#39;s expertise and not your own. :)
Let me tell you this: I pick up things fast, but if I never tried anything before, I need detailed instructions the first time.
So if I got a detailed instruction, solving my problem, I would rember it till the day I died.
And since I explained I am a comp nOOb, you cant expect me to know how to open a port on a comp without firewalls.

james_bond_rulez
09-16-2003, 10:57 PM
Originally posted by true_neo@16 September 2003 - 12:52
Lol I agree that that wasnt very detalied, as I dun know how to open ports :P

I use Serv-U 4 to create my FTP server, and did all what is described in the link at the start.

Anyways, my friend tries to connect to my FTP and gets this:
Resolving host name 194.69.211.208...
Connecting to (194.69.211.208) -> IP: 194.69.211.208
PORT: 21
Unknown error.
Cannot login waiting to retry (30s)...

Can this error be that we are using the wrong port?
Does changing it to 80 help?
If not, what is another poss solution?

PS: Yes I do feel safe havin the IP there, cos I dun have child porn, and if any of you want my stuff, you dun have to hack me, PM me and I give you FTP when it is done :P (plus I have firewall :lol: )
woah dude there is your problem, you are not supposed to run firewalls if you want to run a ftp server.

I turn my firewall off when I run ftp...

shn
09-16-2003, 11:03 PM
Originally posted by james_bond_rulez+16 September 2003 - 16:57--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (james_bond_rulez @ 16 September 2003 - 16:57)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-true_neo@16 September 2003 - 12:52
Lol I agree that that wasnt very detalied, as I dun know how to open ports&nbsp; :P

I use Serv-U 4 to create my FTP server, and did all what is described in the link at the start.

Anyways, my friend tries to connect to my FTP and gets this:
Resolving host name 194.69.211.208...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Connecting to (194.69.211.208) ->&nbsp; IP: 194.69.211.208
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PORT: 21
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown error.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cannot login waiting to retry (30s)...

Can this error be that we are using the wrong port?
Does changing it to 80 help?
If not, what is another poss solution?

PS: Yes I do feel safe havin the IP there, cos I dun have child porn, and if any of you want my stuff, you dun have to hack me, PM me and I give you FTP when it is done&nbsp; :P&nbsp; (plus I have firewall :lol: )
woah dude there is your problem, you are not supposed to run firewalls if you want to run a ftp server.

I turn my firewall off when I run ftp... [/b][/quote]
You dont have to turn your firewall off to run a system service <_<

All you have to do is "configure" your firewall to allow ftp access or outside acess to port 21.

Its a lot easier if you have an actual router as a firewall and not a software based firewall. But either way all you have to do is configure either one.

james_bond_rulez
09-16-2003, 11:06 PM
well let me share my experience, i have an actual dlink router, i configured it to allow incoming tcp port 21, and incoming tcp ports 23580-23590 for file transfers.

in my zonealarm settings, I allow Serv-U (my ftp server) full access to the internet, (server rights included)

that&#39;s it...

it&#39;s simple

P.S. you have to set serv-u for passive connections with port 23580-23590 open&#33;&#33;&#33;

shn
09-16-2003, 11:18 PM
Originally posted by james_bond_rulez@16 September 2003 - 17:06
well let me share my experience, i have an actual dlink router, i configured it to allow incoming tcp port 21, and incoming tcp ports 23580-23590 for file transfers.

in my zonealarm settings, I allow Serv-U (my ftp server) full access to the internet, (server rights included)

that&#39;s it...

it&#39;s simple

P.S. you have to set serv-u for passive connections with port 23580-23590 open&#33;&#33;&#33;
Why would you have both a hardware based firewall (router) and software firewall like zone alarm?

A router is all you need, using third party firewall software not affiliated with your router would do nothing but cause conflicting results in the long run if you dont have both of them configured the same.

Zone alarm? <_<

hum :huh: I suppose some people just like to do it the hard way.

Jibbler
09-16-2003, 11:20 PM
Lets clear up a few things here. Port 21 is the default FTP port, though ANY port can be used. With WinXP, this is very easy to configure. This is a step by step guide to getting your FTP server working with Windows XP.

First keep your firewall up and working. You shouldn&#39;t ever be taking this down. Second, go to Network Connections, right click on your connection and choose Properties. Then on the last tab, the one that says Advanced, click the button on the bottom that says Settings. This will open yet another window that says Services. This is where you will open and close ports with the WinXP firewall. Click on FTP Server and then on Edit. Follow along closely here...

First Box should be greyed out, and it will say FTP Server. 2nd box will be blank. Here you want to put 127.0.0.1 which tells the computer to find your correct IP address. For Internal and External Port setting, you want them both to read 21. And finally, tick only the box for TCP. Now click OK, then OK, then OK, and your ports are opened for FTP and your firewall is working as well.

Maybe someone will edit this and make a sticky, as someone has to re-type it everytime the same question is asked. Balamm?

Also keep in mind that your ftp server software may need to be configured as well, but in most cases, the software today will automatically default to port 21. Fucking noobs, don&#39;t ever turn your firewall off. Learn to configure the damn thing and you&#39;ll have less problems. ;)

true_neo
09-17-2003, 04:09 PM
Hmmm... I said earlier that I dun use the built-in firewall in XP. I use Sygate Personal Firewall Pro, and allowed access to the network for Serv-U, BulletProof Server and SmartFTP.

BUT, the real problem is that ppl cant connect to me even if I have firewalls off&#33; :(

Jibbler
09-17-2003, 06:38 PM
I thought you said you were using WinXP with the firewall, but I must have misread what you wrote. Either way, it still sounds like a firewall issue to me. Those fancy firewalls like Sygate and Zone Alarm are really not needed. The firewall in XP is basic but it works. Check your configuration again, see if you missed something along the way. :)

true_neo
09-17-2003, 08:10 PM
Originally posted by true_neo@17 September 2003 - 18:09
BUT, the real problem is that ppl cant connect to me even if I have firewalls off&#33; :(
Read that. Even with NO firewall on, still no connect...

HellBoY
09-18-2003, 12:54 PM
what is the best FTP prog&#33;&#33;&#33;

true_neo
09-18-2003, 04:35 PM
The best FTP prog is the one that will allow other ppl to connect to me. Please dun spam up this thread.

Livy
09-18-2003, 04:45 PM
http://www.klboard.ath.cx/index.php?showto...indpost&p=98543 (http://www.klboard.ath.cx/index.php?showtopic=11599&view=findpost&p=98543)

true_neo
09-18-2003, 04:54 PM
Um Livy, thanx, but I am way past that.... I already got BulletProof...

But I have some news for you all that will seriously reduce the difficulty:
I ran a port probe test with my firewall ON, and found port 21 CLOSED. I ran it again with firewall OFF, and forund it CLOSED.
I am NOT running the XP firewall.
Can someone tell me how to open the port on an UNFIREWALLED comp?

ck-uk
09-18-2003, 05:29 PM
Can someone tell me how to open the port on an UNFIREWALLED comp?

When u say it was closed with the firewall off..did u have the server On-line at the time?...

Livy
09-18-2003, 05:29 PM
do u use a router,

true_neo
09-18-2003, 05:31 PM
Yes I did have the Server online at that point.

And no I do not use a router. I am on wireless internet, no router.

Livy
09-18-2003, 05:32 PM
u may have to configure the wap for the server. or how exactly is ur computer setup for the internet. e.g from wall to computer

true_neo
09-18-2003, 05:36 PM
Wha? :blink:
I said I AM NOT ON A ROUTER.

Livy
09-18-2003, 05:38 PM
Originally posted by true_neo@18 September 2003 - 17:36
Wha? :blink:
I said I AM NOT ON A ROUTER.
my bad, i knew you said u didnt, just put router instead of server.
or maybe ur isp has blocked it or something so u cant run servers since soem isps dont like customers doing it.

true_neo
09-18-2003, 05:46 PM
lol okay then.
Funny you should mention my isp, cos I talked to them today, and they said they only block ppl FTP&#39;ing within their own network (halden.net), and since all the ppl tryin to connect to me has lived in USA or Australia, I am pretty sure they dun have a Norwegian ISP :lol:
Um an configing the Wap for the server... I&#39;ll try lookin for it in BulletProof, but dun count on me finding it... :P
I didnt find it thats for damn sure... :(

shn
09-18-2003, 06:32 PM
Originally posted by true_neo@18 September 2003 - 11:46
lol okay then.
Funny you should mention my isp, cos I talked to them today, and they said they only block ppl FTP&#39;ing within their own network (halden.net), and since all the ppl tryin to connect to me has lived in USA or Australia, I am pretty sure they dun have a Norwegian ISP :lol:
Um an configing the Wap for the server... I&#39;ll try lookin for it in BulletProof, but dun count on me finding it... :P
I didnt find it thats for damn sure... :(
I have bulletproof ftp server with a crack. Pm me if you want it.

true_neo
09-18-2003, 06:38 PM
:) I do have it, but I dun have a crack. *sends PM*
But what I was talkin about was that I didnt find any option includin Wap in BP.

true_neo
09-18-2003, 08:05 PM
I just thought I would update all you helpful ppl out there that I along with some other ppl have found as the most likely solution:

The port 21 is closed, even with NO firewall.
Only other prog than BPFTP server usin port 21 is ntoskrnl.exe
So the only thing that remains is how to stop ntokrnl.exe from closin port 21?

shn
09-18-2003, 08:19 PM
Originally posted by true_neo@18 September 2003 - 14:05
I just thought I would update all you helpful ppl out there that I along with some other ppl have found as the most likely solution:

The port 21 is closed, even with NO firewall.
Only other prog than BPFTP server usin port 21 is ntoskrnl.exe
So the only thing that remains is how to stop ntokrnl.exe from closin port 21?
Unless your an advanced windows users I wouldnt mess with ntoskrnl.exe if I were you. I think its needed to boot your machine or something or at least part of the boot sequence. Anyway be sure to back it up if you decide to mess with it. :)

true_neo
09-18-2003, 08:48 PM
Well I wont mess with it until sumone give me sum detailed instructions.
What can I do to it to keep it from messin with port 21 and how to do it?

shn
09-18-2003, 09:00 PM
Yeah thats strange because Ive never recalled that it interacted with port 21 at all let alone anything related to the network. :huh:

You might want to do some searching on google. ;)

true_neo
09-18-2003, 09:33 PM
Google eh... well I suck at searching... I always turn up everything im NOT looking for :lol:
But I&#39;ll give it a try. :)