mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-03-02 13:31:58 -05: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
18 lines
315 B
Bash
Executable file
18 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
|