cut outgoing traffic in vm as well using iptable for bro interface

parent ba088f78
......@@ -17,7 +17,7 @@ sudo ifconfig eth1 promisc
echo "Drop all outgoing packets in bro interface"
sudo iptables -A OUTPUT -o eth1 -j DROP
echo "Accept all incoming packets in bro interface"
sudo iptables -A INPUT -o eth1 -j ACCEPT
sudo iptables -A INPUT -i eth1 -j ACCEPT
BRO_CFG_FILE='/usr/local/bro/etc/node.cfg'
#start creating the file conf for 4 instance
......
......@@ -17,7 +17,7 @@ sudo ifconfig eth1 promisc
echo "Drop all outgoing packets in bro interface"
sudo iptables -A OUTPUT -o eth1 -j DROP
echo "Accept all incoming packets in bro interface"
sudo iptables -A INPUT -o eth1 -j ACCEPT
sudo iptables -A INPUT -i eth1 -j ACCEPT
BRO_CFG_FILE='/usr/local/bro/etc/node.cfg'
mkdir -p /usr/local/bro/etc/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment