mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-10-18 17:42:24 +08:00

It includes the --topology feature, and TAP-Win32 driver changes to allow non-admin access. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@580 e7ae566f-a301-0410-adde-c780ea21d3b5
19 lines
315 B
Bash
Executable File
19 lines
315 B
Bash
Executable File
#!/bin/bash
|
|
|
|
####################################
|
|
# 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
|