Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to set up a Snort IDS on a virtual machine for my lab. My problem is that normally, these kinds of IDS are connected to the mirrored port of a switch. My lab has no such device. Here is my topology:

[Internet]->[Linux Firewall+NAT]->[Local Subnets]

I would like to connect my Snort VM (conected to my 192.168.0.0/24 subnet) to my Linux Firewall, is there a way, using IPTABLES or something alike, that I can achieve this?

(It might not be possible since we want to listen to Trasport Layer frames...)

Or would it be possible to collect data on my firewall and have my Snort VM analyse it remotely?

What are my options here?

Thank you for sharing you knowledge!

share|improve this question
    
m-dabbour.blogspot.com/2012/05/… –  quanta Mar 4 '13 at 4:23

1 Answer 1

up vote 0 down vote accepted

Run snort on the Linux Firewall. You can use the VM to run MySQL and configure snort to log to it like so:

output database: log, mysql, user=snort password=snortpass dbname=snort host=mysql.host
share|improve this answer
    
Could I run BASE (Or any frontend) on this MySQL server? Or it is going to have to be on the firewall directly also? –  m6a-uds Mar 5 '13 at 1:11
    
Yes, run BASE inside on the VM. Ideally you'd have a separate VLAN for this but it sounds like its not possible in your environment. –  dmourati Mar 5 '13 at 3:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.