Re: IP forwarding?
On Wed, Mar 30, 2005 at 10:07:47PM +0800, Jason Lim wrote:
> I cannot do this with DNS records because some of the visitors use hardcoded
> IPs rather than domains or hostnames (yes, bad design, but too late to
> change it now).
> The question i have tho... for the servers at 5.6.7.[1-32], if a client
> computer visits the corresponding IP at 1.2.3.[1-32], it would show only
> 5.6.7.[1-32] and not the actual client computer/website visitor, right?
So maybe solution I found some time ago (but never needed, so haven't
ip route add nat 220.127.116.11/27 via 18.104.22.168
ip rule add prio 320 from 22.214.171.124/27 nat 126.96.36.199
from /usr/share/doc/iproute/ip-cref.dvi page 50.