Partizaan, on Posted May 13 2005, 01:08 PM, said:
Why dont u put your own pc in the DMZ en put an little software firewall on it u can disable when needed ? I do it that way.
MY_FIREWALL, is seriously locked down. It has a ton of customized firewall code for my setup. So I don't want to mess with it unless I have to.
So there are still a lot of rules that apply to PC1, even when in the DMZ. What I can do is disable snort and other misc tools on the DMZ NIC3 interface on MY_F. To get a tool like nessus to work, I would have to configure a bunch of DMZ pinholes.. basically leaving PC1 running nessus in a nonprotected state.
I want a script that I can hack to fit my situation at any given time (script will be on PC1). I have two nics on PC1 running nessus. (NIC A) is on green trusted network. NIC B is connected to the DMZ. The default setting for both is off. I have to manually start the interfaces using scripts that make sure only 1 interface is up at a time.
So a quick script to start a firewall that doesn't interfere with sec-tools (and can be hacked to fit the situation), is all I need.
+===================================+
|..........................
[INTERNET]..................................|
|.................................
|..............................................|
|................................
\/..............................................|
|...........
[GATEWAY+FIREWALL].............................|
|......................
|.........................................................|
|.....................
\/.........................................................|
|..................
|NIC1|....................................................|
|..........
[ MY FIREWALL ]..........................................|
|.......
|NIC2|.............
|NIC3|........................................|
|.........
|...........................
\..........................................|
|.........
|.............................
\---> [MY DMZ [PC1] ].....|
|.....
[HUB]...................................................................|
|.........
|......................................................................|
|........
\/......................................................................|
|......
[ MY LAN ]........................................................|
+===================================+
KuerbY, on May 16 2005, 05:36 AM, said:
is it a hardware firewall or software firewall, i had the same problem in work some time ago.
so i fixed it with a small iptables script and i put in /etc/init.d/ so i can start/stop it.
(Its a hardened custom OS based off of OpenBSD. )
This is exactly what I'm talking about.. The only difference is that it must have a high-degree of customization so as not to interfere with the sec-tools.
I have a few ideas about how to do this.. but this is my first time trying to fit the firewall around a sec-tools platform in this configuration..
I could run a few of the common sec tools on one of my remote sites, and record the whole activity with no firewall present. Then I could run the same tests from within the DMZ and compare. This will tell me what needs to be fixed on MY_FIREWALL.
After that is running smoothly, I could begin to build a firewall and keep hacking it until it works flawless. I'm also thinking about using tools like
ftester, netleak, and other server/client firewall policy enumerating tools to help me get it right.
----------
If anyone could point me in the right direction I'd appreciate it. I'll add the final working solution to this thread for you all when I'm done.