[diagram: my_default_connection_path]
+==============================+
|..................[INTERNET]..................................|
|.........................|..........................................|
|........................\/..........................................|
|.............[GATEWAY+FIREWALL]......................|
|.........................|..........................................|
|........................\/..........................................|
|..................[MY FIREWALL].............................|
|.........................|..........................................|
|........................\/..........................................|
|..........(MY LAN [PC1]-[PC2]-[PC3]).................|
+==============================+
My problem, is when I run nessus or a similar info-sec tool, I like/have to disconnect my PC running the prog from MY FIREWALL. The firewall rules are super-tight so I have to do this or my results will be terribly skewed.
[diagram: my_sec-tool_connection_path]
+==============================+
|..................[INTERNET]..................................|
|.........................|..........................................|
|........................\/..........................................|
|.............[GATEWAY+FIREWALL]......................|
|.........................|..........................................|
|........................\/..........................................|
|..............[PC running sec-tool]........................|
+==============================+
Normally the PC does not have any firewall running. So when I use this sec-tool configuration, I am open to attack from any machines also using the GATEWAY, and open to remote attackers that can bypass the GF (gateway+firewall). The rules on the GF are minimal and are designed for complete internet usage in mind. I do not own(or ownz) the GF.
---------
What I would like to be able to do, is to have a nice shell script that I can start/stop a firewall on the PC running sec-tools. The firewall will have to be such that it won't interfere with any of the sec-tools being used. I'm thinking no firewall on outbound traffic, and just on inbound traffic.
---------
Is this a good idea? How can I do this? Any example scripts? Any pointers or comments? What about setting up a connection on different nic on PC to a syslog type server or snort? Any alternate suggestions would be great.
EDIT: The platforms for the scripts can be either linux (spec. arch-linux then slackware), or any BSD.





