Results 1 to 5 of 5

Thread: vsftpd from behind firewall

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    84

    vsftpd from behind firewall

    I have configured vsftpd to work on my local network at home but would like to poke a hole in my router's firewall so that I can upload files to it from anywhere.

    I have already disabled anonymous connections, but would like to, if possible, encrypt username/password when I log in.

    Is this possible? Where do I start?

    Thanks,
    JJJ

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    ssl_enable=YES
    force_local_logins_ssl=YES
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  3. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    I would've found that had I read the sample .conf files. Thanks.

    But how do I generate keys?

    This link looked promising, but /etc/pki/tls/certs does not exist on my server.

    The results of ldd /usr/sbin/vsftpd | grep ssl show that I can support TLS/SSL, correct?

    libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7f06000)

  4. #4
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    It works, as is.

    I can just go ahead and use the snakeoil.pem certificate that was generated automatically. When was this key generated? I assume it is unique to my installation of Ubuntu server, yes?

  5. #5
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    Kind of off-topic question:

    I installed FileZilla on my XP box at work and while I can hit my FTP server and even authenticate to it using FTP over SSL (explicit encryption) and passive mode for transfer, I am unable to to retrieve directory listing:

    Error: Transfer channel can't be opened. Reason: A socket operation was attempted to an unreachable host.
    Error: Could not retrieve directory listing
    I work at a university and we have an entire class A subnet so I'm not NAT'ing at least to my (limited) understanding so that's not it.

    Clearly it is communicating out and authenticating me but it still cannot list the remote directory on my server.

Similar Threads

  1. vsftpd 2.0.6 login trouble
    By bogdan in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 05-20-2008, 12:16 PM
  2. who's more perfect proftpd or vsftpd
    By iyad_h in forum Linux - General Topics
    Replies: 0
    Last Post: 03-06-2008, 07:11 AM
  3. VSFTPD with SSL/TLS - login incorrect
    By Phaelon in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 05-20-2006, 11:44 PM
  4. vsftpd statistics
    By Tyr_7BE in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 03-03-2005, 05:01 AM
  5. vsftpd connection refused!!
    By rhonneil in forum Linux - Hardware, Networking & Security
    Replies: 16
    Last Post: 10-03-2003, 04:03 PM

Bookmarks

Posting Permissions

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