Port-forwarding with IPFW / natd

Julian Elischer julian at elischer.org
Tue Oct 27 23:37:21 UTC 2009


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list