Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 14:14:29 -0800
From:      Julian Elischer <julian@elischer.org>
To:        "Jacob S. Barrett" <jbarrett@amduat.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Universal Client Gateway
Message-ID:  <4197D8C5.5050601@elischer.org>
In-Reply-To: <200411141311.49502.jbarrett@amduat.net>
References:  <200411141311.49502.jbarrett@amduat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jacob S. Barrett wrote:
> I am trying to make what some call a universal client gateway.  Finding 
> anything via google on the subject is turning up nothing.  Basically I want 
> setup a gateway that will masquerade IP from any host reguardless of its IP 
> configuration.  For example if a host is configured with IP 192.168.2.2 and a 
> gateway of 192.168.2.1 my gateway would reply to ARP requests for 
> 192.168.2.1.  When the host forwards its IP traffic to me I would masquerade 
> the packet with my IP and forward it.  When the reply comes back my gateway 
> would de-masquerade the packet and forward it back the host.  I have it all 
> working except for the return forwarding.
> 

[...]


> 
> So does anyone understand what I am trying to do?  Do you know how to do it?  
> Am I going about this all wrong?
> 

sounds like you just want to run natd.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4197D8C5.5050601>