>>> "Jaguar" == Jaguar <[EMAIL PROTECTED]> writes:
[snip]
Jaguar> yes there is a /proc/sys/net/ipv4 it has DIRS for /conf
Jaguar> /neigh /route, and a buncha other files no I didn't
Jaguar> compile a kernel
>> There are many options for IP, and experimental support for
>> IPv6.
>>
>> What specifically are you looking for with IPv4
Jaguar> I want to share my cable modem with 3 other Win boxes and
Jaguar> use Linux as a firewall/proxy
There ought to be a how-to on this, because so many people with high
speed connections ask about it.
You need to set up ip masquerading, as you already know. You need the
MS Win boxes to be talking tcp/ip, as you know.
For cable modem sharing:
http://www.cablemodeminfo.com/cablesharing.html
(I found that site from among the matches returned by
http://www.google.com/linux , searching on "cable modem sharing".
Take a look at http://www.enteract.com/~lspitz/linux.html (the
Preparing your linux box for the Internet site [security]) and the
ipchains-howto, which ought to be on your box. I have some links to
scripts and other things at
http://www.viconet.com/fieschko/linux_security.htm.
Unless the modules are already loaded, you'll need to modprobe them:
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/modprobe ip_masq_autofw
/sbin/modprobe ip_masq_cuseeme
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_mfw
/sbin/modprobe ip_masq_portfw
/sbin/modprobe ip_masq_quake
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_user
/sbin/modprobe ip_masq_vdolive
(This is probably excessive.)
Jaguar> I have run the /proc/(something's??)/ip_chains, and got
Jaguar> PERMISSION DENIED and yes as ROOT.
>> I don't understand this. What command did you run? Doing
>>
>> 'find /proc/ -name ip_chains' on my machine returns no matches.
>> Were you doing
>>
>> 'echo 1 > /proc/sys/net/ipv4/ip_forward' ?
Jaguar> yes it gave a PERMISSION DENIED
Bizarre. On my box /proc/sys/net/ipv4/ip_forward is owned by root in
group root, and for ip masquerading, I have to do 'echo 1 >
/proc/sys/net/ipv4/ip_forward' as root, and it works. If I do it as
non-root, I get 'bash: /proc/sys/net/ipv4/ip_forward: Permission
denied'
--
Mike Fieschko, West Orange, NJ, USA
X-Mailer: VM 6.75 under 21.1.8 XEmacs and random-sig.el
Kernel 2.2.15-0.17mdk
http://www.viconet.com/fieschko/home.htm
Mar 27 St John Damascene
"Blasphemy is an artistic effect, because blasphemy depends upon a
philosophic conviction. Blasphemy depends upon belief and is fading
with it. If any one doubts this, let him sit down seriously and try
to think blasphemous thoughts about Thor. I think his family will
find him at the end of the day in a state of some exhaustion."
[G.K. Chesterton, in Heretics]