VPS 1blu openvpn server tun (errno=25)

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
insaiN
OpenVpn Newbie
Posts: 2
Joined: Wed Mar 20, 2019 9:11 am

VPS 1blu openvpn server tun (errno=25)

Post by insaiN » Wed Mar 20, 2019 9:25 am

Hi OpenVPN community,
glad you have an active forum to discuss issues. I'm trying to set up a openvpn server on a Virtual private server at 1blu.de
I have full root access and I the OS is ubuntu 18.04 minimal. That is how they call it in the webinterface. VIRTUOZZO is used for the virtual server.

I tried a few different scripts from github to install the server. All of them ended with the same error. I tried with a fresh install and running upgrade and dist-upgrade.
When starting openvpn with the config
server

port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
verb 3
crl-verify crl.pem

The tun0 device is not created and i have the following line in the log
Note: Cannot set tx queue length on tun0: Inappropriate ioctl for device (errno=25)
When I only run

Code: Select all

openvpn --mktun --dev tun0
I get the following outout.
TUN/TAP device tun0 opened
Note: Cannot set tx queue length on tun0: Inappropriate ioctl for device (errno=25)
Persist state set to: ON
Also tried to delete the /dev/net/tun adn recreate it with

Code: Select all

mknod /dev/net/tun c 10 200
Tried to google for Inappropriate ioctl for device (errno=25), but could not find anything useful. Can anybody explain the error code or knows where to lookup the error in more detail?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: VPS 1blu openvpn server tun (errno=25)

Post by TinCanTech » Wed Mar 20, 2019 2:24 pm

insaiN wrote:
Wed Mar 20, 2019 9:25 am
I'm trying to set up a openvpn server on a Virtual private server at 1blu.de
Ask them if the tun driver is installed correctly.

insaiN
OpenVpn Newbie
Posts: 2
Joined: Wed Mar 20, 2019 9:11 am

Re: VPS 1blu openvpn server tun (errno=25)

Post by insaiN » Thu Mar 21, 2019 3:36 pm

TinCanTech wrote:
Wed Mar 20, 2019 2:24 pm
Ask them if the tun driver is installed correctly.
I did. The fist answer didn't give any information and on the second try the only thing i got was:
"The usage of (Open)VPN is possible in gernal"

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: VPS 1blu openvpn server tun (errno=25)

Post by TinCanTech » Thu Mar 21, 2019 4:01 pm

insaiN wrote:
Thu Mar 21, 2019 3:36 pm
TinCanTech wrote:
Wed Mar 20, 2019 2:24 pm
Ask them if the tun driver is installed correctly.
I did. The fist answer didn't give any information and on the second try the only thing i got was:
"The usage of (Open)VPN is possible in gernal"
Find a better provider. One that knows how to provide support for their customers and their system.

Post Reply