Johan,

Your proposed solution will work ok, but if you want a more complete
approach, try to use something like dns views (in case of bind9):(
http://www.isc.org/sw/bind/arm93/Bv9ARM.ch06.html#id2562349).
I guess trying to do something at the "pf" level will be very costly to the
clearness and maintenance of you rules.

regards
-- 
Eduardo B Ribeiro
48 8842-4580
SC - Brasil


2008/6/3, Johan Gunnarsson <[EMAIL PROTECTED]>:
>
> I have port forwarding set up on my pfsense box to acess an imap-server
> on the network connected to my LAN interface. Everything works well when
> I'm using it from the outside:


(...)

What is the *right* way to solve this? Right now i just use an entry in
> the hosts file to make the connections go directly to the internal ip
> but that's not the solution I'm looking for.
>

Reply via email to