[LARTC] What method to use when NATing

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 24, 2002 at 07:00:20PM -0600, Kelly Scroggins wrote:
> There are two ways to NAT with 2.4.x that I am
> aware of.  One is to use the ipmasq rule, and the
> other is to use the ip utility's 'ip rule'
> command.

The iptables way is used more, but is probably a few nanoseconds slower. The
ip rule command is not used a lot but does involve very little code.

I would personally always use the iptables command because the
iptables/netfilter community is so much more helpful.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux