Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a desktop with two ethernet(etho,eth1) cards and OSSIM installed in it. I have a laptop with webmin installed, where i want to write rules for transferring packets from eth1 to eth0. Both the laptop( and desktop( are in same network. I am using fedora 17 in my laptop.

share|improve this question
Just follow the installation guide. – David Schwartz Dec 7 '12 at 20:11

I have flushed my iptable and added new rules. OSSIM had its own iptables and i dint use webmin.

'iptables -A INPUT -s 0/0 -i eth0 -d -p TCP -j ACCEPT 

iptables -A POSTROUTING -t nat -o eth1 -s -d 0/0 -j MASQUERADE 

iptables -A FORWARD -t filter -o eth1 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT 

iptables -A FORWARD -t filter -i eth1 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT '

And it worked out.

share|improve this answer

Your Answer


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.