sonic_beatnik
06-16-2005, 02:57 PM
I am somewhat of a newbie at network administration and would like to start a home project to learn more about Linux and networking.
What I am planning on doing is setup a Linux gateway to handle Firewall, IP-Masq, NAT, and IDS.
The machine Im setting it up on is a 133Mhz Gateway (<-brand-name) that Ive been told should be fine for this.
Currently I have 3 computers: a Debian Laptop(Victor), Gentoo desktop(Bane) and a Windows desktop all sharing DSL through a router.
Since I am new to these things I thought I would throw out the plan I've gathered from Googling on this topic to see if I am missing something or there are any issues or holes in it.
I have not used any of these features so I wanted a plan that could introduce each piece of a Linux Gateway one at time and maybe even document the process.
Of course there is MUCH more to each step (especially installation and initial configuration), but these are well-documented and I am not a newbie at locking down services and secure partitioning, etc.
What do you think?
Will this plan work?
1.Install Red Hat or Cent OS (minimal setup with no GUI)
2.Compile and install custom 2.6 kernel
3.Setup ethernet bridging between Victor and router via bridge-utils
4.Fix any issues preventing Victor from internet access
5.Enable bridge-nf code in 2.6 kernel to allow iptables to see the bridged IP packets and enable transparent IP NAT and iptables firewalling features using ebtables
6.Learn and create an iptables firewall filter. <-- this will be the most challenging from what I gather.
7.Switch GateKeeper from bridge-mode to gateway-mode still using the iptables setup.
8.remove router and connect GateKeeper to DSL modem
9.Enable IP-Masquerading for connection sharing and private networking
10.add switch and connect Bane
11.Test IP-Masq with NAT
12.Setup Intrusion Detection System
thanks
-Scott
What I am planning on doing is setup a Linux gateway to handle Firewall, IP-Masq, NAT, and IDS.
The machine Im setting it up on is a 133Mhz Gateway (<-brand-name) that Ive been told should be fine for this.
Currently I have 3 computers: a Debian Laptop(Victor), Gentoo desktop(Bane) and a Windows desktop all sharing DSL through a router.
Since I am new to these things I thought I would throw out the plan I've gathered from Googling on this topic to see if I am missing something or there are any issues or holes in it.
I have not used any of these features so I wanted a plan that could introduce each piece of a Linux Gateway one at time and maybe even document the process.
Of course there is MUCH more to each step (especially installation and initial configuration), but these are well-documented and I am not a newbie at locking down services and secure partitioning, etc.
What do you think?
Will this plan work?
1.Install Red Hat or Cent OS (minimal setup with no GUI)
2.Compile and install custom 2.6 kernel
3.Setup ethernet bridging between Victor and router via bridge-utils
4.Fix any issues preventing Victor from internet access
5.Enable bridge-nf code in 2.6 kernel to allow iptables to see the bridged IP packets and enable transparent IP NAT and iptables firewalling features using ebtables
6.Learn and create an iptables firewall filter. <-- this will be the most challenging from what I gather.
7.Switch GateKeeper from bridge-mode to gateway-mode still using the iptables setup.
8.remove router and connect GateKeeper to DSL modem
9.Enable IP-Masquerading for connection sharing and private networking
10.add switch and connect Bane
11.Test IP-Masq with NAT
12.Setup Intrusion Detection System
thanks
-Scott