PsychoFox
asked on
ip
I have three computers on my lan.
Two running Win98 and one linux machine.
I got a cable modem and want to share the connection between all the computers.
How do I set up Ip-Masquerade on the linux machine?
I run redhat 6.0 2.2.5.
The ip adresses are 172.16.1.32, 31, 22.
My cablemodem connects through a gateway to the internet (172.16.2.254).
I'm new to linux, so I would appreciate the instructions to be stepwise.
Two running Win98 and one linux machine.
I got a cable modem and want to share the connection between all the computers.
How do I set up Ip-Masquerade on the linux machine?
I run redhat 6.0 2.2.5.
The ip adresses are 172.16.1.32, 31, 22.
My cablemodem connects through a gateway to the internet (172.16.2.254).
I'm new to linux, so I would appreciate the instructions to be stepwise.
1) Go to Linuxconf
2) Select firewall
3) Select forwarding
4) Select IP Masquerade
5) From 172.16.1.0, mask 255.255.255.224 Interface Any
6) To 0.0.0.0, Interface Any
Make sure you setup the network cards correctly and can ping outside from the Linux before you go for the steps
If you cannot found the Firewall option under the Server configuration section, add the module "Firewall" under the linuxconf modules.
The internal network address can be 175.16.1.1-255
Regards
Max
2) Select firewall
3) Select forwarding
4) Select IP Masquerade
5) From 172.16.1.0, mask 255.255.255.224 Interface Any
6) To 0.0.0.0, Interface Any
Make sure you setup the network cards correctly and can ping outside from the Linux before you go for the steps
If you cannot found the Firewall option under the Server configuration section, add the module "Firewall" under the linuxconf modules.
The internal network address can be 175.16.1.1-255
Regards
Max
ASKER
hmm..I can't find the firewall option in linuxconf. Any ideas?
You should add the "firewall" module in linuxconf under:
Control -> Control File ans System -> Configure Linuxconf Modules
Then next time you will see it under:
Config -> networking -> server tasks
Regards
Max
Control -> Control File ans System -> Configure Linuxconf Modules
Then next time you will see it under:
Config -> networking -> server tasks
Regards
Max
You should add the "firewall" module in linuxconf under:
Control -> Control File ans System -> Configure Linuxconf Modules
Then next time you will see it under:
Config -> networking -> server tasks
Regards
Max
Control -> Control File ans System -> Configure Linuxconf Modules
Then next time you will see it under:
Config -> networking -> server tasks
Regards
Max
ASKER
The linuxconf tool says that it does not support firewall options for kernels above 2.1. What should i do?
ASKER
The linuxconf firewall-tool doesn't work for kernels above 2.1...
Are you running KDE? If so, leave the painful bits I went through. www.tucows have a freeware Linux page. Try Kfirewall, it works a treat (and says that it will work without KDE installed) Uses IPChains etc. There are a few other criteria that needs meeting, but it's nice and easy.
Nick
Nick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry, it was intended to be a comment, not an answer...
http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html
Rob