watsakanpnp
Forum Replies Created
-
Forum: Plugins
In reply to: [3CX Free Live Chat, Calls & WhatsApp] Unable to reposition Chat ButtonAnd how to i paste this? Should it be in the footer or it can be anywhere in the <body> tag?
Forum: Plugins
In reply to: [3CX Free Live Chat, Calls & WhatsApp] Unable to reposition Chat ButtonHow do get the code snippet? I can not find on the webclient dashboard
Forum: Plugins
In reply to: [Geolocation IP Detection] IP detected as 127.0.0.1I have the same problem
Detected client IP: 127.0.0.1
This IP is used for detecting the geo-information of the user. It should be the same as the real client IP below.
Real client IP (detected without the plugin): Failed: error
This IP is detected within the browser, so reverse proxies of the server are not affected.
External Server IP: 128.199.88.253
In some cases, the server is in the same network as the client (e.g. testing server). As the connection does not use Internet, this plugin uses the IP adress of the server as seen from the internet.
For performance reasons, this IP is cached for 2 hours.
Also, for servers without internet access, this IP can be set in the options.
REMOTE_ADDR: 127.0.0.1
In server configurations without reverse proxy, this will equal to the “detected client IP”. Otherwise, this is the IP of the reverse proxy.
HTTP_X_FORWARDED_FOR: 125.24.225.41, 127.0.0.1
Reverse proxies usually add this header to indicate the original IP. If several IPs are given here (seperated by a comma), the correct user IP usually is the leftmost one.
Settings of the plugin
Use reverse proxy: yes
Enable this option if REMOTE_ADDR is not the correct client IP.
Whitelist for known reverse proxies (optional if only one): (none)
All IPs in HTTP_X_FORWARDED_FOR that are not the correct client IP are probably known reverse proxies.
(For security reasons, this is not assumed by default: maybe the reverse proxy is not of the server, but a Man-In-The-Middle-Attack … not very probable but possible.)