Find the answer to your Linux question:
Results 1 to 3 of 3
hi, my ftp with vsftpd works smooth but I have a router problem, my ftp runs on port 1200 with a data port of 1202, works fine! but everytime a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Location
    Belgium
    Posts
    62

    vsftpd and router/firewall


    hi,
    my ftp with vsftpd works smooth but I have a router problem,

    my ftp runs on port 1200 with a data port of 1202, works fine!
    but everytime a client logs in he gets blocked on my router although port 1200 and port 1202 are open...
    I need to open all ports so that it will work, any idea why?

    I see that they come in at random ports, I dont know why...
    I can clearly see when logging in on my ftp that port 1202 is used as data port not a range of ports as I set ip up in vsftpd!

    thnx,
    davy

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    I think that the ports on which it comes in are fixed. I have 55000:57000 passed on my router, but it's not allowing me to ftp my website. After 5 tries, I saw it wanting to use ports from 51526 up to 63651. I think I'm just going to pass anything from port 20 to anything above 50000. I'll let you know if I run into another instance where that's not quite enough.

    Edit: Lol...just after I changed it, it tried 49868.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Dec 2004
    Location
    Belgium
    Posts
    62
    well it seems to be that i forgot to open the ftp port (data port was open),
    now it looks like its fixed
    I come back if i encounter router blocking problems again,
    thnx,
    davy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •