19 lines
313 B
Bash
Executable File
19 lines
313 B
Bash
Executable File
#!/bin/sh
|
|
|
|
####################################
|
|
# Tear Down Ethernet bridge on Linux
|
|
####################################
|
|
|
|
# Define Bridge Interface
|
|
br="br0"
|
|
|
|
# Define list of TAP interfaces to be bridged together
|
|
tap="tap0"
|
|
|
|
ifconfig $br down
|
|
brctl delbr $br
|
|
|
|
for t in $tap; do
|
|
openvpn --rmtun --dev $t
|
|
done
|