|Subject:||Why do I see my router's IP address in every log?|
|Creation date:||5/10/19 9:13 AM|
|Last modified on:||5/10/19 9:40 AM|
When you run any server, HTTP, POP3, IMAP or SMTP, Xeams gets the IP addresses of the connecting client from TCP/IP headers. Consider the image below:
In this above example, two different clients are connecting from the Internet. One is using an IMAP (126.96.36.199) and second is another SMTP server (188.8.131.52) trying to send an email. Although both of these clients are coming in from the Internet and have different IP addresses, you see 192.168.1.1, which is your router's IP address in every log, giving you an impression that your router is actually sending these messages.
This happens because your router is masquerading the actual client's IP address and is acting sort of like a reverse proxy. To prevent this, refer to your router's documentation to see how to disable this feature. For example, click here to see how to prevent this if you're using a firewall from Fortinet.
There are several disadvantages if your router hides the actual IP address: