Virtualmin behind NAT firewall, logs intermittently showing internal IP of router

2 posts / 0 new
Last post
#1 Thu, 11/28/2019 - 13:51
srmobile

Virtualmin behind NAT firewall, logs intermittently showing internal IP of router

Long time no issues!

I had initially configured my virtualmin box to be directly connected to the internet; I recently changed this and put it behind a NAT firewall. Now the majority of the visitor IP that are logged are showing as the internal gateway ip of the router.

I have other websites on the virtualmin box all with different external IP addresses that are being forwarded to the internal IP of the virtualmin box.

All the virtualmin sites share the same internal IP but have different external IP's on the router.

Any idea on how I can get this to consistently report the correct external IP address?

Thank you

SR

Fri, 11/29/2019 - 11:48
srmobile

figured it out, I was using a proxy on the firewall for additional protection instead of a simple packet filter. The intermittent traffic was because port 80 had a packet filter and 443 was a proxy.