Loopback NAT source IP

Hi, I have got a bit of a question regurding loopback NAT.

My openwrt router sits at 192.168.1.1, I have a web server at 192.168.1.100, so I forward https traffic at port 443 from openwrt router to my web server, and everyone can visit my website.

I have another PC at 192.168.1.101, and when I visit my website, my website reports that it got a visit from 192.168.1.1.

My question is, is it possible to keep internal source IP when doing loopback NAT? I want my website to see that the visit is from 192.168.1.101.

Thanks!

You could bypass loop-back NAT by putting the domain/host name in the local DNS with the local IP address.

1 Like

Yeah you are right, I was tunnel visioned into doing this with firewall.