腹黒い茶 says to Ubuntu 台灣社群所以我有個專門打 tun 的 shell script # cat /opt/openvpn-pre #!/bin/bash if [ ! -d /dev/net ]; then mkdir -p /dev/net fi if [ ! -c /dev/net/tun ]; then mknod /dev/net/tun c 10 200 fi chmod 600 /dev/net/tun cat /dev/net/tun 2> /dev/null | grep "File descriptor in bad state" sysctl -p exit 0at Wed, Jun 5, 2019 1:14 AM