docker-vsftpd
docker-vsftpd copied to clipboard
Client Ip Address
Hi,
I see on vsftpd.log that all my clients have the same ipaddress, but this is obviously the local ip address of the host. Is possible get the real client ip?
Hello @matzrm
Since this issue is still open you can try call the public facing ip by calling the cloud-flare service and then output this to a log file.
dig +short txt ch whoami.cloudflare @1.0.0.1 | tee /home/vsftpd/ip.log
you will need to install the dns-utilities (i believe its bind-utils)