Make script and call it bridgeconf
Code:
#! /bin/bash
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr br0
brctl addif br0 eth0
brctl addif br1 eth1
ifconfig br0 up
iptables -F
iptables -Z
iptables -A FORWARD -p udp -m limit --limit-burst 10 -j DROP
make it executable
copy the script to /usr/local/bin
Code:
# cp bridgeconf /usr/local/bin
Add he following line to /etc/resolv.conf
Code:
/usr/local/bin/bridgeconf
Execute /etc/rc.local to see if it works