client
dev tap0
up /home/openvpn/up.sh
#dev-node "br0"
proto udp
remote 10.8.99.18 6194
resolv-retry infinite
#nobind
persist-key
persist-tun
ca /home/openvpn/conf/client/ca.crt
cert /home/openvpn/conf/client/client.crt
key /home/openvpn/conf/client/client.key
remote-cert-tls server
sndbuf 0
rcvbuf 0
txqueuelen 1000
verb 3
script-security 3
auth-user-pass /home/openvpn/conf/client/pass.txt
status /home/openvpn/logs/client/openvpn-status.log
log-append /home/openvpn/logs/client/openvpn.log
#!/bin/bash
#
#
BRIDGE="br0"
/usr/sbin/brctl addif ${BRIDGE} ${1}
/usr/sbin/ifconfig ${1} 0.0.0.0 promisc up