On 12/27/05, Stuart Henderson <[EMAIL PROTECTED]> wrote:
>
> > Quick background: I have a wandering, disorganized, computer-illiterate
> boss
> > who needs to send mail from his laptop from any network, without
> changing
> > any of his computer's settings. I've set up postfix to handle this, but
> it's
> > on a local 192.168.0.0/24 net behind our firewall. One of the networks
> he
> > needs to be able to send mail from is our local wireless network, same
> > subnet.
>
> So, he's directly on 192.168.0/24, and so is the mail server..


Yeah, exactly.

I guess he's trying to access the mail server on it's external address,
> am I right?


Yep.

You can't redirect a packet back out the interface it was
> received on, so that won't work. Either he'll need to use a different
> address for each location (which can sometimes be handled by having the
> name server hand out different addresses to queries from different
> subnets, some popular desktop OS will cache the lookups for longer
> than you'd like, partly mitigated by stopping 'DNS Client' service),
> or the mail server could be moved to a different nic on the firewall,
> or nc can be used to forward connections as described in PF FAQ.


Thanks, I didn't know about nc. Just based on glancing at its man page,
it'll probably do the trick. If it doesn't, then connecting the mail server
to its own nic on the firewall is a darn good idea that I should've thought
of.

Thanks.

- R.

Reply via email to