Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 16:37:20 -0700
From:      Julian Elischer <julian@elischer.org>
To:        remodeler <remodeler@alentogroup.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Port-forwarding with IPFW / natd
Message-ID:  <4AE78430.5070305@elischer.org>
In-Reply-To: <20091027224716.M1459@alentogroup.org>
References:  <20091027224716.M1459@alentogroup.org>

next in thread | previous in thread | raw e-mail | index | archive | help
remodeler wrote:
> Is there any reason to prefer port-forwarding with ipfw (forward ipaddr) vs.
> natd (-redirect_port), if I am using both subsystems in any case? I see natd
> uses libalias and an ipfw divert port, so my thought is that the ipfw approach
> would incur less overhead. Also, the ipfw approach permits a hostname for
> resolving where natd requires an IP address.


they do different things


NAT changes the packets while fwd leaves them alone but just changes 
where they are delivered.

which you use depends on what you are trying to do.

> 
> Thank you.
> 
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AE78430.5070305>