Results 1 to 6 of 6

Thread: VSFTPD - change listen port?

  1. #1

    VSFTPD - change listen port?

    Hi,
    Is any possibility change listen port from wan?And how to change iptables rules?
    pleas help.
    Oleg's firmware 7e
    thanks very much

  2. #2
    Nobody knows??
    pls help.

  3. #3
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by greengreen View Post
    Hi,
    Is any possibility change listen port from wan?
    Here are some nice tutorials: http://www.sprayfly.com/wiki/VSFTP_Guides (You want to edit the vsftpd.conf file.
    And how to change iptables rules?
    pleas help.
    Oleg's firmware 7e
    thanks very much
    Search this forum on 'post-firewall', there's lots of info about it.

  4. #4

    Post

    Thx but my problem of changing listening port there ins't
    I know that a have to change vsftpd.conf and post-firewall but every my tries wasn't sucssesfuly.

    Any other ideas?
    thx

  5. #5
    What have you tried?

    Kind of hard to suggest something other than the correct things to do, if it doesn't work for some reason you have to be more specific.

  6. #6
    Hi,
    i try to add to vsftpd.conf lines:
    listen_port=2121
    ftp_data_port=2020

    post-firewall look like:
    #!/bin/sh
    iptables -D INPUT -j DROP

    iptables -A INPUT -p tcp --dport 2121 -j ACCEPT
    iptables -A INPUT -p tcp --dport 2020 -j ACCEPT

    iptables -A INPUT -p tcp --dport 80 -j ACCEPT

    iptables -A INPUT -p tcp ! --dport 22 -j DROP
    /usr/local/rootgraph.sh diff > /dev/null


    when i want to connect to vsftpd (over total commander):
    to user@ipadress:2121
    so connect call failed

    ftp is listening still on port 21 from lan
    Last edited by greengreen; 29-08-2006 at 16:22.

Similar Threads

  1. Replies: 3
    Last Post: 01-11-2014, 13:16
  2. FritzBox -> wl-hdd -> vsftpd Port ändern
    By PeterRies in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 12-02-2008, 10:40
  3. Change webinterface port
    By MHz in forum WL-500g Q&A
    Replies: 1
    Last Post: 07-07-2006, 20:00
  4. Replies: 1
    Last Post: 07-09-2005, 08:09
  5. Firmware v1.9.2.7 CR1 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 53
    Last Post: 13-04-2005, 23:26

Posting Permissions

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