client config
client
dev tap
proto udp
remote host.domain.tld
resolv-retry infinite
keepalive 10 120
ping-timer-rem
persist-tun
persist-key
ca ca.crt
cert laptop.crt
key laptop.key
tls-auth tls-auth.key 1
ns-cert-type server
cipher AES-256-CBC
auth sha256
route-delay 10
script-security 2
up "up.sh"
down "down.sh"
pull
comp-lzo
verb 4
mute 20
explicit-exit-notify 2
up script
#!/bin/bash
/usr/sbin/ifdown tap0 2>/dev/null
/usr/sbin/ifup tap0 &
server config
mode server
tls-server
local host.domain.tld
port 1194
proto udp
dev tap0 mktun
script-security 2
up TapUp.sh
ca ca.crt
cert vpn.crt
key vpn.key
tls-auth tls-auth.key 0
dh dh2048.pem
cipher AES-256-CBC
keysize 256
auth sha256
server-bridge
push "redirect-gateway def1"
push "route-gateway dhcp"
passtos
keepalive 10 120
comp-lzo
fast-io
user nobody
group nobody
ping-timer-rem
persist-tun
persist-key
verb 4
mute 20
i keep getting
Error: No suitable device found: no device found for connection 'tap0'.
when i try to connect to the vpn. why is the device not being found any more? the tun.ko module is loaded in the kernel, the ifcfg-tap0 file exists in /etc/sysconfig/network-scripts/, but i cannot bring up the interface by any means. what can i check?