Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Ip Address #29

Open
matzrm opened this issue Jun 18, 2019 · 1 comment
Open

Client Ip Address #29

matzrm opened this issue Jun 18, 2019 · 1 comment

Comments

@matzrm
Copy link

matzrm commented Jun 18, 2019

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?

@alainseys
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants