Universal Client Gateway
Julian Elischer
julian at elischer.org
Sun Nov 14 14:14:50 PST 2004
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.
More information about the freebsd-net
mailing list