LHR hello, This is my bridge-start #!/bin/sh ### BEGIN INIT INFO # Provides: bridge-start # Required-Start: $network $syslog # Required-Stop: $network # Should-Start: $openvpn # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO # Define Bridge Interface br="br0" # Define list of TAP interfaces to be bridged, tap="tap0" # Define physical ethernet interface to be bridged LAN=enp8s0 eth_ip="192.168.15.254/24" eth_netmask="255.255.255.0" eth_broadcast="192.168.15.255" brctl addbr $br brctl addif $br $LAN for t in $tap; do brctl addif $br $t done for t in $tap; do ip addr add 0/0 dev $t ip link set dev $t promisc on ip link set dev $t up done ip addr del 192.168.15.254/24 dev $LAN ip addr add 0/0 dev $LAN ip link set dev $LAN promisc on ip link set dev $LAN up ip addr add $eth_ip broadcast $eth_broadcast dev $br ip link set dev $br up When i boot it doesn't work but if i reboot the bridge-start it's work fine, can you help me to explain and resolve this problem ? Thank you [oconf]
TinCanTech I don't know why you have modified the script found here: https://openvpn.net/index.php/open-source/documentation/miscellaneous/ethernet-bridging.html Also note, the bridge start script should execute before Openvpn starts.
LHR Hello, I have modified the original script because the ip command replace the ipconfig command and the run level now use LSBInitscripts in stretch distrib. Do you know how I can start the bridge before OpenVPN using LSBInitscripts ?? If you have the reply for me , it will be great help Thanks a lot in advance, Best regards