UnixTools/vbox_stoptun_ssl.sh
2013-03-21 01:54:15 +01:00

14 lines
357 B
Bash
Executable File

#!/bin/bash
#bring the interfaces down
ifconfig tap0 down
ifconfig br0 down
brctl delif br0 tap0
brctl delbr br0
#now setup your network-interface again
#for dhcp uncomment the following line
#dhclient3 eth0
#For a static IP uncomment the following lines and change them accordingly:
ifconfig eth0 192.168.1.162
route add default gw 192.168.1.249 dev eth0