How to access ext. addr. from inside ?

Darrell Dieringer netfilter@darrelldieringer.com
Fri, 25 Jan 2002 11:13:58 -0600


Hello,

You need DNAT onto the same subnet.  If you do a google search for {
DNAT "same network" }, the very first document will tell you how to do
it...

http://netfilter.samba.org/unreliable-guides/NAT-HOWTO/NAT-HOWTO.linux
doc-10.html

On my home box with the LAN on eth1, this results in packets which
have "IN=eth1 OUT=eth1".  If you have lots of rules that depend on the
interface on which packets arrive / depart, you might have some
unintended problems (that should be easily resolved now that you know
at least where to start looking).

Good Luck,

Darrell

> -----Original Message-----

> The problem is whenever they connect to the internal
> network and try to
> access the mail server, still using IMAP, on the external
> address of the
> firewall.
>
> I cannot get the traffic to go from inside -> outside -> inside.
>