1Answer
  • 5
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

PURE-ftpd + passive mode + TLS

I have got linux (debian 7.1 wheezy ), where I run pure-ftpd, created virtual users, folder for ftp. I also install openssl, create private certificate for tls. All seems good.

  • When user connect from internal address in passive mode without TLS - its working fine.
  • When user connect from internal address in passive mode with TLS - its working fine.
  • When user connect from external address in passive mode without TLS - its working fine.
  • When user connect from external address in passive mode with TLS - ftp doesn't work, because ftp server return to external client local ip address. And client doens't know this address.

I also tried solve this problem to create conf file in /etc/pure-ftpd/conf/ForcePassiveIP, where is written external address. But when user connect from external address he got external address what is fine, but after he got another error with connection. And I think this is not good, because users from internal network will not be able to connect ftp, because they will get external address from ForcePassiveIP conf file.

Maybe I can make two ftps server with different settings, but I think its not optimal.

Trending Tags