We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to get visitor ip in ubuntu 16.04 ?
How to get visitor ip in ubuntu 16.04 ?
Hello,
First of all this is great free panel. I have installed with apache+nginx on ubuntu 16.04 with wordpress. It's working nicely, but in wordfence plugin, i see only my host ip. How do i get actual visitor ip to block login attacks?
i have tried following links -
viewtopic.php?f=11&t=14622&p=60282&hili ... +ip#p60282
http://forum.vestacp.com/viewtopic.php? ... 193#p33193
viewtopic.php?f=10&t=6650&start=10
viewtopic.php?f=10&t=6488&start=10
But nothing worked so far. could anyone help out please??
Thanks.
First of all this is great free panel. I have installed with apache+nginx on ubuntu 16.04 with wordpress. It's working nicely, but in wordfence plugin, i see only my host ip. How do i get actual visitor ip to block login attacks?
i have tried following links -
viewtopic.php?f=11&t=14622&p=60282&hili ... +ip#p60282
http://forum.vestacp.com/viewtopic.php? ... 193#p33193
viewtopic.php?f=10&t=6650&start=10
viewtopic.php?f=10&t=6488&start=10
But nothing worked so far. could anyone help out please??
Thanks.
Re: How to get visitor ip in ubuntu 16.04 ?
For Wordfence, please check this options: https://docs.wordfence.com/en/Wordfence ... ce_get_IPs
Re: How to get visitor ip in ubuntu 16.04 ?
Thanks i have added ip in trusted proxies and selected "Use the X-Real-IP HTTP header. Only use if you have a front-end proxy or spoofing may result." and now its showing real ip's.ScIT wrote:For Wordfence, please check this options: https://docs.wordfence.com/en/Wordfence ... ce_get_IPs
May i know this got working please? also i have added code from above links in apache2.conf & php.ini files, should i remove them now??
Re: How to get visitor ip in ubuntu 16.04 ?
yes, better remove all unused config. Default is best :)numberek wrote:Thanks i have added ip in trusted proxies and selected "Use the X-Real-IP HTTP header. Only use if you have a front-end proxy or spoofing may result." and now its showing real ip's.ScIT wrote:For Wordfence, please check this options: https://docs.wordfence.com/en/Wordfence ... ce_get_IPs
May i know this got working please? also i have added code from above links in apache2.conf & php.ini files, should i remove them now??
Re: How to get visitor ip in ubuntu 16.04 ?
done with this... thanks a ton. I have one more query, hope you could answer it.ScIT wrote:yes, better remove all unused config. Default is best :)numberek wrote:Thanks i have added ip in trusted proxies and selected "Use the X-Real-IP HTTP header. Only use if you have a front-end proxy or spoofing may result." and now its showing real ip's.ScIT wrote:For Wordfence, please check this options: https://docs.wordfence.com/en/Wordfence ... ce_get_IPs
May i know this got working please? also i have added code from above links in apache2.conf & php.ini files, should i remove them now??
As i have hosted my emails on zoho, how do i get default vestacp server alerts by email and same for wordpress (wordfence alerts) as well. ??
Re: How to get visitor ip in ubuntu 16.04 ?
this is not a problem, the email will be sent over php-mail / local exim4. just do not configure any local email account for the domain that you want to have. so the server will have a look at the mx-records and send the email to this servers.
Re: How to get visitor ip in ubuntu 16.04 ?
I have not setup any account yet for the domain & I am using dns server of digital ocean. I am not receiving any regular updates from wordfence??ScIT wrote:this is not a problem, the email will be sent over php-mail / local exim4. just do not configure any local email account for the domain that you want to have. so the server will have a look at the mx-records and send the email to this servers.
Re: How to get visitor ip in ubuntu 16.04 ?
anyone could help me please??
Re: How to get visitor ip in ubuntu 16.04 ?
What do you mean with "regular updates form wordfence"? The email notifications? If yes, check exim mainlog in /var/log/exim4/mainlog
Re: How to get visitor ip in ubuntu 16.04 ?
i see some emails, unknown :/ & message frozen logs. Kindly look into please.ScIT wrote:What do you mean with "regular updates form wordfence"? The email notifications? If yes, check exim mainlog in /var/log/exim4/mainlog
Code: Select all
2017-07-06 06:26:11 dovecot_login authenticator failed for (User) [91.200.12.134]: 535 Incorrect authentication data (set_id=amber)
2017-07-06 06:26:12 1dT0Cp-0004BV-Av H=smtp.guosen.com.cn [61.141.193.178] Connection timed out
2017-07-06 06:26:12 1dT0Cp-0004BV-Av == [email protected] R=dnslookup T=remote_smtp defer (110): Connection timed out
2017-07-06 06:26:26 1dSlLl-0005JY-Gc H=sbsmta1.netvigator.com [218.102.23.37] Connection timed out
2017-07-06 06:26:26 1dSlLl-0005JY-Gc == [email protected] R=dnslookup T=remote_smtp defer (110): Connection timed out
2017-07-06 06:26:29 1dSCeA-0003Sf-6o == [email protected] R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2017-07-06 06:26:32 1dRb1N-0005KD-W7 == [email protected] R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
Code: Select all
2017-07-06 06:26:26 1dSx7d-0007x2-EP Message is frozen
2017-07-06 06:26:26 1dSiWc-0001OU-VP Message is frozen
2017-07-06 06:26:26 1dSutv-0004PO-Es Message is frozen
2017-07-06 06:26:26 1dSdtf-0002Vi-SD Message is frozen
2017-07-06 06:26:26 1dSZYo-0003Sf-61 Message is frozen
2017-07-06 06:26:26 1dSghP-00072e-M3 Message is frozen
2017-07-06 06:26:26 1dSqcL-0005w8-Tt Message is frozen
2017-07-06 06:26:26 1dSWxJ-00088o-Bj Message is frozen
2017-07-06 06:26:26 1dSr05-0006TA-Tt Message is frozen
2017-07-06 06:26:26 1dSuyp-0004Uq-6W Message is frozen
2017-07-06 06:26:26 1dSqbR-0005v8-3D Message is frozen