Hi!

Let's consider a simple scheme with two NAT boxes
where packet flow is asymmetric:

     A----+
     |    |
S ---+    T
     |    |
     B----+

Here S is a host in the local network and its IP is 192.168.1.1,
A and B are both border routers and both do NAT, T is a target server
in a public Internet having IP address 1.1.1.1. All links drawn
above are WAN and multihop links. Outgoing traffic from S to T
flows through A, incoming traffic flows through B.

A has 2.2.2.2 for its outer interface, B has 3.3.3.3 for its.
A and B both do "static NAT" for S, they translate
192.168.1.1 to 4.4.4.4 (and vise versa). One can try

redirect_address 192.168.1.1 4.4.4.4

for natd(8) configuration (and corresponding ipfw rules) to achieve this.

AFAIK, libalias and ipnat do not support this configuration currently.
I'm trying to patch libalias to support this and have some progress
but still cannot make work active mode FTP transfers when S is a client
and T is a server.

Should this schema work in a theory at least?

Eugene Grosbein

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to