FTP on different ports?

By piercemyers ยท 10 replies
Dec 3, 2005
  1. Hi all,

    My isp blocks port 25 to improve the quality of service, something i overlooked when i signed up. I am now locked into a 12month contract but could really do with this service.

    Is it possible to run an ftp server on another port, I remember reading somewhere that this can be done but cant find any useful information/guides at the moment.

    Anyone done this?

  2. IronDuke

    IronDuke TS Rookie Posts: 856

    FTP should be running on port 21.
  3. Samstoned

    Samstoned TechSpot Paladin Posts: 1,018

    pick a port range above 6000
    your server port
    the client will need this as well
  4. piercemyers

    piercemyers TS Rookie Topic Starter

    doh! forgot to mention port 80, 8080 and 3128 are also blocked.

    are there any other ports above 6000 availble?

    and has anyone done this on a fedora box?

  5. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    There are 65535 TCP ports. Use anything that isn't in use by something else.

    According to the RFC, ports above 50000 are reserved for "private" use, so it would be nice if you used those.
  6. jobeard

    jobeard TS Ambassador Posts: 11,168   +986

    FTP has a pair of PORTS 21,22. Both are needed unless
    you follow the user/passwd with passive, and then only the port 21 is
    'hard coded'

    If you have control of the serer side (ie: run FTPD), then you can
    move the port anywhere above 1024 THAT IS NOT ALREADY assigned.
    Using passive again, will allow you to require only ONE KNOWN port.

    btw: SSH will also perform FTP service, using port 22 or any other you may choose. SSH is better than FTP in that the user/passwd will be encrypted
    and thus is more secure.

    SSH runs on all platforms, in both direction, but on {L,U}inux systems, you
    also need SSHD.
  7. Samstoned

    Samstoned TechSpot Paladin Posts: 1,018

    have a friend setup a client side
    and plug in numbers till one works
    thats how I setup my filezilla ftp (FREE)
    PS best speeds I got going from cable to dsl where 100kbs
    average speed was 30kbs
  8. piercemyers

    piercemyers TS Rookie Topic Starter

    hey thanks everyone, that's made it relatively clear for me, now i know it's possible.

    will be looking to set up server some time over the holiday, wish me luck!

    thanks again,
  9. jobeard

    jobeard TS Ambassador Posts: 11,168   +986

    everyone should understand ...

    Email is a poorly designed service from the '70s when security wasn't such a nightmare.
    The attachment has some good information on PORT 25 misuse. It can be a real pain when you
    need a mail relay, but there should be more ISPs performing this service!

    Second point. Contracting for an ISP personal account and using it to provide
    server style services is usually a violation of the Terms Of Usage.
    You may get away with it if the traffic is low volume, but don't go balistic if
    they elect to shut you down.
  10. piercemyers

    piercemyers TS Rookie Topic Starter

    thanks for clearing that up.

    the ftp server will be purely for private use, basically so i can upload files from home to my university connection.

    am i right in thinking that ftp over ssh is better suited for my purposes. If so, do you know a good place where i could start researching/reading about setting up an ssh server?

    my ultimate aim is to have a dedicated linux box as part of a home network, hosting ftp and remote desktop, accessible from my university connection.

  11. jobeard

    jobeard TS Ambassador Posts: 11,168   +986

    the Linix system will have SSH{D} and all you do is install/config that side.
    see 'man -k ssh' and be sure to keep sshd started at boot time.

    SSH (and Putty) are available for Win/x systems.

    see getting started with ssh
    for some usage tips

    I a big user of Cygwin (a unix like emulation for Unix) and SSH is available there too.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...