Add a parameter to use TAP instead of TUN device.

This commit is contained in:
Thomas Emmerling
2015-08-19 00:46:07 +02:00
parent d3d11b660a
commit 3703d3afc3
2 changed files with 11 additions and 5 deletions

View File

@ -34,7 +34,7 @@ get_client_config() {
echo "
client
nobind
dev tun
dev $OVPN_DEVICE
remote-cert-tls server
remote $OVPN_CN $OVPN_PORT $OVPN_PROTO