On Sun, 23 Jan 2000, from your lips spewed forth:
>
> Hello,
> I am a newbie at Linux and am trying to use a box to distribute a Cable modem to
>a LAN. I have installed two NICs in my box. Got these both to work. I have been
>able to configure routing so that my box can ping both outside and inside. The LAN
>can ping both NIC cards. I assume since the 10. network can get to my WAN that IP
>Forwarding is working. The LAN however can not get outside. Does this mean that my
>provider is seeing a 10 network and not my assigned IP? also I am having problems
>with DNS. It will not recognize my DNS servers. They are in the file but it will
>not ping them. Sorry I am sure that this is all posted some place before isnce this
>is seeming to me as a common use for a linux box but I am sick and tired of trying to
>figure this out. I just want it to work. Thankyou for your time and consideration.
>
> Andy
>
The IPCHAINS HOWTO has a quickie three line setup for IP Masq that works for
a quick'n'dirty method of getting it set up... sure.. it doesn't give you FTP
capability or some of the other modular stuff.. but it does work as a
quick'n'dirty... of course... keep security in mind etc etc etc... <chuckle>..
lessee... I'll cut'n'paste the pertinent bit of the HOWTO for you...
"
3.1. Rusty's Three-Line Guide To Masquerading
This assumes that your external interface is called `ppp0'. Use
ifconfig to find out, and adjust to taste.
# ipchains -P forward DENY
# ipchains -A forward -i ppp0 -j MASQ
# echo 1 > /proc/sys/net/ipv4/ip_forward
"
#INCLUDE <std_disclaimer.h>
--
---------------------------------
"Love is like a snowmobile speeding across the frozen tundra. Suddenly, it
flips, pinning you to the ground. At night the ice weasels come."-Matt Groening
Magnus The Evil Troll
e-mail: [EMAIL PROTECTED]
phone : 1-800-POD-BABY
Web: http://www.geocities.com/SouthBeach/Marina/3780