Find the answer to your Linux question:
Results 1 to 4 of 4
hi, trying to use a passive data port of 1202 cause my ftp runs at port 1200... right now it uses a data port randomly so I have to open ...
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 passive data port


    hi,

    trying to use a passive data port of 1202 cause my ftp runs at port 1200...
    right now it uses a data port randomly so I have to open all ports on my router which is not good!

    in my config file:
    pasv_enabled=yes
    pasv_min_port=1201
    pasv_max_port=1202
    listen_port=1200

    but it still uses ports randomly from 1200 to 65000...

    any idea?
    thnx,
    davy

  2. #2
    Just Joined!
    Join Date
    Dec 2004
    Location
    Belgium
    Posts
    62
    the weird part is when I use port 21 it will use the data port 1202,
    how come?

  3. #3
    Just Joined!
    Join Date
    Dec 2004
    Location
    Belgium
    Posts
    62
    well,
    had to run vsftpd in standalone mode,
    now it works on port 1200 with data port 1202...
    but I still cannot find the restart vsftpd without xinetd.d cause its in standalone mode...
    any idea?
    thnx,
    davy

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2005
    Posts
    1

    Restart vsftpd in standalone mode

    To restart vsftpd in standalone mode, try:

    /etc/init.d/vsftpd restart

Posting Permissions

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