Skip to contentSkip to conversation

What method to use when NATing

LARTC Kelly Scroggins 2 participants 2 messages Mar 25, 2002

lore
Share & tools
lore
#1 lore raw
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/