[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: ip traffic forwarder



Sancho2k.net Lists said:
> The question we have is: can we also redirect traffic coming into the
> old IP address to the new address so as to not see interuption of
> service until we fix the problem? What'd we'd envisioned was doing
> something like a binat rule to translate traffic between the old and new
> IP addresses. The difficulty is that the new IP address isn't located
> "behind" the OpenBSD box and it would seem that it may be difficult
> given the path that traffic would take. Is this setup possible? Is there
> another way to accomplish this (SSH port forwarding, a generic TCP
> proxy, etc.) or are we basically unable to do it and should be happy to
> at least monitor traffic to the legacy IPs?

This is working now. The solution we used was the pf/inetd proxy described
in the FAQ:

 http://www.openbsd.org/faq/pf/rdr.html#tcpproxy

I tried a thousand different rules with nat, rdr, and binat but could not
get things working right. The proxy did the trick.

DS



Visit your host, monkey.org