#!/bin/bash tunctl -t tap1 -u cyberorg brctl addbr br0 ifconfig eth0 0.0.0.0 promisc brctl addif br0 eth0 ifconfig br0 10.0.0.254 route add default gw 61.17.39.1 brctl addif br0 tap1 ifconfig tap1 up ifconfig tap1 10.0.0.20