Subject: Re: single-interface IPNat box?
To: Rafal Boni <>
From: David Carrel <>
List: current-users
Date: 06/17/1997 16:27:12
Rafal Boni wrote:
> Is it possible to set up a single-interface IPNat box??

You might try building a kernel with an extra loopback interface. 
ifconfig lo1 with some address  Then use an ifconfig alias to put a
translated and an untranslated address on the ethernet.  Build your
routes to route traffic from the ethernet, through the second loopback
and back out the ethernet.  Do the NAT at the loopback interface.  I've
done tricks with NetBSD and more than one loopback, but I've never tried
that one.  Let me know if you try it.