18 $IP tunnel add $EGRE mode gre/eth remote $REMOTE key $KEY
24 echo $ETUN0,$ETUN1 > /sys/module/etun/parameters/newif
31 brctl addif $BRIDGE $EGRE
32 brctl addif $BRIDGE $ETUN1
35 ### Setup iptables so that packets are visible in the vserver
36 iptables -t mangle -A FORWARD -o $BRIDGE -j MARK --set-mark $SLICEID
38 ### Create "grab link" script
39 GRAB=/vsys/grab-$ETUN0
45 chcontext --ctx 1 -- echo \$PID > /sys/class/net/$ETUN0/new_ns_pid
48 echo $SLICE > $GRAB.acl