What method to use when NATing
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.
What are the differences, and why would I want to use one way over the other?
kelly
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · Kelly Scroggins
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
Signature · 6 lines
http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/