AUTHOR

Linux bros, [questions/challege]

- Goal: Create a NAT router out of an old donated workstation, and an MTA of your choice (Postfix? Qmail? Zimbra?)
- Requirements: Ability to touch a web server behind it on ports 80, 443 and 10000
- DHCP Server for LAN clients

(Don't think too much about hardware capabilities, performance or storage. This could be a VM for all you care.)

1) You have acess to a static WAN IP address
2) You have two physical network cards
3) You have a 24-port switch capable of VLANs
4) You want this to be a separated subnet from an existing LAN on the same switch

In 10 steps or less, what do you install/configure/recommend?

-This message has been edited by Pearl_Jammer on 4/26/2012 6:40:49 PM

Would you go IPTables, SELinux, 3rd party?
Which MTA would you choose and why?
i'd use bsd.
This might be the wrong time of day to make this thread. I was kind of hoping for a whiteboard discussion.
mikeymac quote:
i'd use bsd.
How would you build it out?
mikeymac quote:
i'd use bsd.
same
Id actually go with a combination of apf and snort depending on how much ram you have on the box. Realistically if you go with centos6 you can enable kvm (kernel virtualization) and have separate VM instances for the firewall and the MTA so that they're isolated from each other to avoid compromise.
Which is an easily configurable fronted for iptables if you want to go that route (apf is pretty much the same).
Louis2rich quote:
Id actually go with a combination of apf and snort depending on how much ram you have on the box. Realistically if you go with centos6 you can enable kvm (kernel virtualization) and have separate VM instances for the firewall and the MTA so that they're isolated from each other to avoid compromise.
I like that. Forgot to consider this option.

Right now in brute flow chart, I have this to work with:
- Business Class Cable Internet > 8 port dummy switch (WAN)
- From there, one cable to > Cisco SOHO router > 24-port Switch (LAN)
Right now the main server is a workstation that has been seriously overhauled, consisting of:

- Dell Precision 490 workstation
- Dual Processor Quad Core Xeons
- 16GB of FB-DIMM DDR2 ECC
- 6-drive WD Caviar Black RAID-10 1TBs
- Dell Perc 5i RAID card with write cache enabled and battery backed cache
- 3 available network cards (Onboard Broadcam, VMWare compatible, PCI-X Intel 2-port Gigabit)

VMWare ESX5, running several virtual machines:
-SBS 2011 which is DHCP server behind the Cisco SOHO 4-port gigabit Router (VLan capable as well and supports 3 SSIDs which is why its in place)
-Server 2008 R2 (Runnings Blackberry Enterprise Server and Ventrilo Server for gaming)
I want to add a second cable to the 8-port dummy switch that the modem is connected to, and create a VMWare software switch using the Intel network adapters to have a completely seperate business network for some development projects. I was going to do this by:

- Carving the 24-port switch into 2 switches; 20 port and 4 port.
- Use the 4-port side for development LAN/Subnet (eth1)
- Use the 8-port WAN switch (access to the secondary static IP) for the WAN port of the gateway VM (eth0)
- Meanwhile, the onboard network card is handling all traffic for the current LAN/Subnet connected to the 20-port carved side of the 24-bit switch.
The hardware side of it is things I can always do in my sleep, but I'm still green as a *nix net-ops, so designing the software afterward is still quite challenging for me. Smiley
This would allow me to add my 3 linux VMs (NAT/firewall, MTA and webserver) to their own static IP address and completely seperate the two networks from each other.

Network 1: 192.168.10.0/24 - current business
Network 2: 192.168.20.0/24 - development network for unrelated business
Ha, man, even though I'm talking to myself in this thread it really just helped to get it all out in plain text in front of me.
you done circle-jerking yourself, faggot?
Stoic quote:
you done circle-jerking yourself, faggot?
I wish you had some linux knowledge. My bros aren't posting at the moment. I'm not done circle jerking myself yet.
I haven't had to use linux for real in years... i'm going through the LFS install to refresh but i've not needed to use linux legitimately besides vi and ssh since i started college
Pearl_Jammer quote:
I wish you had some linux knowledge. My bros aren't posting at the moment. I'm not done circle jerking myself yet.
You going to be up for a while? I'm in the middle of getting ready for work and arguing with an idiot about a business that I don't own. I'll get back to you when I can sit down and pull some stuff I've got saved to help you out.

Quick reply

Sign in to post a message.
Smileys

Times shown in Eastern Time (ET).