I'm trying to setup openvpn in bridge mode so I can link a few networks together across the country. I have got openvpn setup and that works fine, its when I try and turn it into a bridged network is where things go the wrong way.I am following this tutorial here.When I try and run bridge-start I get a confirmation that the tap device was opened, but I also get disconnected from the ssh session and have to reboot the server to connect again.Sat May 27 02:49:35 2017 TUN/TAP device tap0 openedSat May 27 02:49:35 2017 Persist state set to: ONShould I be bridging to eth0 or am I just doing something wrong?This is my bridge-start script#!/bin/bash################################## Set up Ethernet bridge on Linux# Requires: bridge-utils################################## Define Bridge Interfacebr=br0# Define list of TAP interfaces to be bridged,# for example tap=tap0 tap1 tap2.tap=tap0# Define physical ethernet interface to be bridged# with TAP interface(s) above.eth=eth0eth_ip=192.168.8.4eth_netmask=255.255.255.0eth_broadcast=192.168.8.255for t in $tap; do    openvpn --mktun --dev $tdonebrctl addbr $brbrctl addif $br $ethfor t in $tap; do    brctl addif $br $tdonefor t in $tap; do    ifconfig $t 0.0.0.0 promisc updoneifconfig $eth 0.0.0.0 promisc upifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcastAnd my ifconfigeth0      Link encap:Ethernet  HWaddr 00:16:3c:5d:7a:a5          inet addr:111.111.111.111  Bcast:111.111.111.255  Mask:255.255.255.0          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:186590 errors:0 dropped:348 overruns:0 frame:0          TX packets:136 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000          RX bytes:11311181 (10.7 MiB)  TX bytes:20623 (20.1 KiB)lo        Link encap:Local Loopback          inet addr:127.0.0.1  Mask:255.0.0.0          inet6 addr: ::1/128 Scope:Host          UP LOOPBACK RUNNING  MTU:65536  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)tap0      Link encap:Ethernet  HWaddr 7e:9f:bc:8a:06:f7          BROADCAST MULTICAST  MTU:1500  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:100          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)Edit:I'm logging in via vnc to make all changes.This is what my /etc/network/interfaces looks like currently, I copied all of the address/gateway/netmask from eth0 before I made changes. I cannot ssh into the server, do I have my settings wrong?auto eth0allow-hotplug eth0iface eth0 inet manualauto br0iface br0 inet static        address 111.191.104.233        gateway 111.191.104.1        netmask 255.255.255.0        bridge_ports eth0        bridge_fd 0        bridge_maxwait 0interfaces before any modification auto lo  iface lo inet loopback auto eth0  iface eth0 inet static   address 111.191.104.233   gateway 111.191.104.1   netmask 255.255.255.0   dns-nameservers 8.8.8.8 8.8.4.4
openvpn bridge tap to ethernet
debian;openvpn;bridge