Confused about NAT. Something seems not to be working like I expected?
-
Alright… I seem to be having an odd problem here.
First... let me say, I just switched from IPcop to pfSense.. and this worked perfectly fine in IPcop.. so I'm presuming I'm doing something wrong...
I'm using beta 1 of v2.0.
My setup at home is as follow.
192.168.1.1 - pfsense firewall
192.168.1.5 - reverse proxy
192.168.1.40 webserver 1
192.168.1.50 webserver 2The reverse proxy naturally takes care of picking out the right webserver depending on which domain that was forwarded.
Now.. I have set up a NAT that takes port 80 traffic and sends it to the reverse proxy.. and the thing that confuses me here is the following.
If I access my various URLS to my websites externally, it all works fine. The NAT does as it's supposed to, and the reverse proxy likewise of course.
But here's the strange thing is... IF I try to access the websites with the domain names internally.. the NAT doesn't apply and doesn't forward my request to the proxy... instead I just end up at the pfsense administration webpage?
What am I doing wrong?
Looking forward to some help... thanks.
-
Ooohhhh…
I found the problem... Nat reflection was disabled.. I just had to enable that again, and then it worked...
Pheww...