[SlugLUG] Setting up NAT and DNS on Fedora 11

Rick Moen rick at linuxmafia.com
Tue Aug 4 00:38:34 PDT 2009


Quoting Kelly Cash (kelly at the-clearing.org):

>> I think the other thing you're missing is something like
>> "iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE"
>
> Thanks.  I hadn't done that.  Just did.  Is it persistent?

Nope.  You'll want to read that HOWTO, and much should be clearer.

>> One other essential command to know is
>> $  iptables -L
>
> Did that, but it barfed out a lot of stuff I didn't understand.

Well, you want to start from a simple starting point.  So, if there's a
lot of stuff in there that you don't understand, that's bad.  You'll 
want to prune out some of your filtering rules, for now, and add them 
back as you understand the effect of each.



More information about the Sluglug mailing list